Skip to content

Merge pull request #2 from GKestenberg/porter-stack-python-usage-2abf… #1

Merge pull request #2 from GKestenberg/porter-stack-python-usage-2abf…

Merge pull request #2 from GKestenberg/porter-stack-python-usage-2abf… #1

"on":
push:
branches:
- main
name: Deploy to python-usage
jobs:
porter-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- 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
run: exec porter apply -f porter.yaml
env:
PORTER_APP_NAME: python-usage
PORTER_CLUSTER: "1"
PORTER_HOST: https://gil.withporter.run
PORTER_PR_NUMBER: ${{ github.event.number }}
PORTER_PROJECT: "1"
PORTER_REPO_NAME: ${{ github.event.repository.name }}
PORTER_TAG: ${{ steps.vars.outputs.sha_short }}
PORTER_TOKEN: ${{ secrets.PORTER_APP_1_1 }}