Skip to content

Update porter_stack_cowsay.yml #47

Update porter_stack_cowsay.yml

Update porter_stack_cowsay.yml #47

"on":
push:
branches:
- dockerfile-no-procfile
name: Deploy to cowsay
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-testing@38c3c0300f437da68a682ff209a729951652d0e6
with:
command: apply -f ./porter.yaml
env:
DOCKER_BUILDKIT: "1"
PORTER_BUILDKIT_ARGS: "--cache-to type=gha --cache-from type=gha"
PORTER_CLUSTER: "3111"
PORTER_HOST: https://dashboard.getporter.dev
PORTER_PR_NUMBER: ${{ github.event.number }}
PORTER_PROJECT: "9118"
PORTER_STACK_NAME: cowsay
PORTER_TAG: ${{ steps.vars.outputs.sha_short }}
PORTER_TOKEN: ${{ secrets.PORTER_STACK_9118_3111 }}