File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ " on " :
2+ push :
3+ branches :
4+ - master
5+ name : Deploy to cloud
6+ jobs :
7+ porter-deploy :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Checkout code
11+ uses : actions/checkout@v4
12+ - name : Set Github tag
13+ id : vars
14+ run : echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
15+ - name : Setup porter
16+ uses :
porter-dev/[email protected] 17+ - name : Deploy stack
18+ timeout-minutes : 30
19+ run : exec porter apply
20+ env :
21+ PORTER_APP_NAME : cloud
22+ PORTER_CLUSTER : " 608"
23+ PORTER_DEPLOYMENT_TARGET_ID : 9889f3a8-a943-4c69-810f-2aa1cfe25498
24+ PORTER_HOST : https://cloud.porter.run
25+ PORTER_PR_NUMBER : ${{ github.event.number }}
26+ PORTER_PROJECT : " 610"
27+ PORTER_REPO_NAME : ${{ github.event.repository.name }}
28+ PORTER_TAG : ${{ steps.vars.outputs.sha_short }}
29+ PORTER_TOKEN : ${{ secrets.PORTER_APP_610_608 }}
You can’t perform that action at this time.
0 commit comments