From 8d80eb6f1c784afd9aeaa389809b0af1565d88ad Mon Sep 17 00:00:00 2001 From: "porter-deployment-app[bot]" <87230664+porter-deployment-app[bot]@users.noreply.github.com> Date: Mon, 2 Oct 2023 15:39:22 +0000 Subject: [PATCH] Create porter_stack_js-test.yml file --- .github/workflows/porter_stack_js-test.yml | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/porter_stack_js-test.yml diff --git a/.github/workflows/porter_stack_js-test.yml b/.github/workflows/porter_stack_js-test.yml new file mode 100644 index 00000000..705d60ab --- /dev/null +++ b/.github/workflows/porter_stack_js-test.yml @@ -0,0 +1,26 @@ +"on": + push: + branches: + - porter +name: Deploy to js-test +jobs: + porter-deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Set Github tag + id: vars + run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT + - name: Deploy stack + timeout-minutes: 30 + uses: porter-dev/porter-cli-action@v0.1.0 + with: + command: apply -f ./porter.yaml + env: + PORTER_CLUSTER: "2745" + PORTER_HOST: https://dashboard.getporter.dev + PORTER_PROJECT: "7484" + PORTER_STACK_NAME: js-test + PORTER_TAG: ${{ steps.vars.outputs.sha_short }} + PORTER_TOKEN: ${{ secrets.PORTER_STACK_7484_2745 }}