Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

infra: Enable Porter Application web (#2391)

porter-deployment-app[bot]67d37ec66b1f
diff --git a/.github/workflows/porter_stack_web.yml b/.github/workflows/porter_stack_web.yml
new file mode 100644
index 0000000000..dc5854d2ba
--- /dev/null
+++ b/.github/workflows/porter_stack_web.yml
@@ -0,0 +1,29 @@
+"on":
+ push:
+ branches:
+ - main
+name: Deploy to web
+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: Setup porter
+ uses: porter-dev/[email protected]
+ - name: Deploy stack
+ timeout-minutes: 30
+ run: exec porter apply
+ env:
+ PORTER_CLUSTER: "4037"
+ PORTER_DEPLOYMENT_TARGET_ID: c22d8fa2-f97c-4e1f-9cae-83cc6bfbad35
+ PORTER_HOST: https://dashboard.getporter.dev
+ PORTER_PR_NUMBER: ${{ github.event.number }}
+ PORTER_PROJECT: "12565"
+ PORTER_REPO_NAME: ${{ github.event.repository.name }}
+ PORTER_STACK_NAME: web
+ PORTER_TAG: ${{ steps.vars.outputs.sha_short }}
+ PORTER_TOKEN: ${{ secrets.PORTER_STACK_12565_4037 }}