From a5a753f02ee5b38c1a44a3d080f7db12e98d74d5 Mon Sep 17 00:00:00 2001 From: "porterdevappjose[bot]" <141774703+porterdevappjose[bot]@users.noreply.github.com> Date: Fri, 27 Oct 2023 15:07:50 +0000 Subject: [PATCH] Create porter_stack_cowsay.yml file --- .github/workflows/porter_stack_cowsay.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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 }}