diff --git a/.github/workflows/porter_stack_porter.yml b/.github/workflows/porter_stack_porter.yml index 02c9e13..0215d41 100644 --- a/.github/workflows/porter_stack_porter.yml +++ b/.github/workflows/porter_stack_porter.yml @@ -12,15 +12,16 @@ jobs: - name: Set Github tag id: vars run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT + - name: Setup porter + uses: porter-dev/setup-porter@v0.1.0 - name: Deploy stack timeout-minutes: 30 - uses: porter-dev/porter-cli-action@v0.1.0 - with: - command: apply -f ./porter.yaml + run: exec porter apply -f ./porter.yaml env: - PORTER_CLUSTER: "2745" - PORTER_HOST: https://dashboard.getporter.dev - PORTER_PROJECT: "7484" + PORTER_CLUSTER: "7" + PORTER_HOST: https://sandbox.porter.run + PORTER_PR_NUMBER: ${{ github.event.number }} + PORTER_PROJECT: "9" PORTER_STACK_NAME: porter PORTER_TAG: ${{ steps.vars.outputs.sha_short }} - PORTER_TOKEN: ${{ secrets.PORTER_STACK_7484_2745 }} + PORTER_TOKEN: ${{ secrets.PORTER_STACK_9_7 }}