From b3de64382d817a3db3d03dd57870fca66f31e581 Mon Sep 17 00:00:00 2001 From: "porter-deployment-app[bot]" <87230664+porter-deployment-app[bot]@users.noreply.github.com> Date: Tue, 29 Aug 2023 23:08:42 +0000 Subject: [PATCH] Create porter_stack_did-they-do-it.yml file --- .../workflows/porter_stack_did-they-do-it.yml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/porter_stack_did-they-do-it.yml diff --git a/.github/workflows/porter_stack_did-they-do-it.yml b/.github/workflows/porter_stack_did-they-do-it.yml new file mode 100644 index 00000000..3b80c2b1 --- /dev/null +++ b/.github/workflows/porter_stack_did-they-do-it.yml @@ -0,0 +1,26 @@ +"on": + push: + branches: + - master +name: Deploy to did-they-do-it +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: "2981" + PORTER_HOST: https://dashboard.getporter.dev + PORTER_PROJECT: "8384" + PORTER_STACK_NAME: did-they-do-it + PORTER_TAG: ${{ steps.vars.outputs.sha_short }} + PORTER_TOKEN: ${{ secrets.PORTER_STACK_8384_2981 }}