diff --git a/.github/workflows/porter_stack_cowsay.yml b/.github/workflows/porter_stack_cowsay.yml index cf4ae44..1940544 100644 --- a/.github/workflows/porter_stack_cowsay.yml +++ b/.github/workflows/porter_stack_cowsay.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: porter apply -f ./porter.yaml env: - PORTER_CLUSTER: "9" + PORTER_CLUSTER2: "10" PORTER_HOST: https://newt-worthy-gazelle.ngrok-free.app - PORTER_PROJECT: "1" + PORTER_PR_NUMBER: ${{ github.event.number }} + PORTER_PROJECT: "10" PORTER_STACK_NAME: cowsay PORTER_TAG: ${{ steps.vars.outputs.sha_short }} - PORTER_TOKEN: ${{ secrets.PORTER_STACK_1_9 }} + PORTER_TOKEN: ${{ secrets.PORTER_STACK_10_10 }}