Skip to content

Commit d3c6290

Browse files
committed
Merge branch 'main' of github.com:porter-dev/nodejs-getting-started into main
2 parents a1f62b7 + 9b087f4 commit d3c6290

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
"on":
2+
push:
3+
branches:
4+
- main
5+
name: Deploy to nodejs-getting-started
6+
jobs:
7+
porter-deploy:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@v3
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_CLUSTER: "3777"
22+
PORTER_DEPLOYMENT_TARGET_ID: 6ac4c03c-2128-4a7d-8871-f345326dca5b
23+
PORTER_HOST: https://dashboard.getporter.dev
24+
PORTER_PR_NUMBER: ${{ github.event.number }}
25+
PORTER_PROJECT: "9267"
26+
PORTER_STACK_NAME: nodejs-getting-started
27+
PORTER_TAG: ${{ steps.vars.outputs.sha_short }}
28+
PORTER_TOKEN: ${{ secrets.PORTER_STACK_9267_3777 }}

0 commit comments

Comments
 (0)