Skip to content

Commit b45927d

Browse files
committed
getting ready for main
1 parent 9fda01c commit b45927d

2 files changed

Lines changed: 30 additions & 1 deletion

File tree

.github/workflows/porter-prod.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
"on":
2+
push:
3+
branches:
4+
- main
5+
name: Deploy to camera-photo-prod
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/setup-porter@v0.1.0
17+
- name: Deploy stack
18+
timeout-minutes: 30
19+
run: exec porter apply -f ./porter.yaml
20+
env:
21+
PORTER_APP_NAME: camera-photo-prod
22+
PORTER_CLUSTER: "4689"
23+
PORTER_DEPLOYMENT_TARGET_ID: 4a24a192-04c8-421f-8fc2-22db1714fdc0
24+
PORTER_HOST: https://dashboard.porter.run
25+
PORTER_PR_NUMBER: ${{ github.event.number }}
26+
PORTER_PROJECT: "15081"
27+
PORTER_REPO_NAME: ${{ github.event.repository.name }}
28+
PORTER_TAG: ${{ steps.vars.outputs.sha_short }}
29+
PORTER_TOKEN: ${{ secrets.PORTER_APP_15081_4689 }}

.github/workflows/porter_app_camera-photo-example_4689.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"on":
22
push:
33
branches:
4-
- main
4+
- roger-old-main
55
name: Deploy to camera-photo-example
66
jobs:
77
porter-deploy:

0 commit comments

Comments
 (0)