Skip to content

ignore porter.yaml

ignore porter.yaml #6

"on":
push:
branches:
- master
name: Deploy to Porter
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@dev
with:
command: apply -f porter.yaml
env:
ENABLE_SENTRY: "false"
PORTER_CLUSTER: "1"
PORTER_HOST: https://ce1e-160-72-72-58.ngrok-free.app
PORTER_PROJECT: "1"
PORTER_STACK_NAME: s29051
PORTER_TAG: ${{ steps.vars.outputs.sha_short }}
PORTER_TOKEN: ${{ secrets.PORTER_STACK_1_1 }}