Skip to content

Commit 2e359e7

Browse files
it workflow test
1 parent 1c0d0d5 commit 2e359e7

3 files changed

Lines changed: 13431 additions & 1111 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
name: Deploy to Porter
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 -f porter.yaml
20+
env:
21+
PORTER_CLUSTER: 2259
22+
PORTER_HOST: https://dashboard.internal-tools.porter.run
23+
PORTER_PROJECT: 532
24+
PORTER_APP_NAME: horsepaste
25+
PORTER_TAG: ${{ steps.vars.outputs.sha_short }}
26+
PORTER_TOKEN: ${{ secrets.PORTER_APP_532_2259 }}
27+

0 commit comments

Comments
 (0)