Skip to content

Commit 57ea1e5

Browse files
committed
ci(backup): pass required env vars to deploy
1 parent 294caa9 commit 57ea1e5

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

.github/actions/deploy-cloudrun/action.yml

+9
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ inputs:
1717
github_token:
1818
description: 'The GitHub token'
1919
required: true
20+
agol_org:
21+
description: 'The ArcGIS Online organization'
22+
required: true
23+
tag_name:
24+
description: 'The tag name'
25+
required: true
2026

2127
runs:
2228
using: composite
@@ -82,6 +88,9 @@ runs:
8288
timeout: 60m
8389
secrets: |
8490
/secrets/app/secrets.json=secrets:latest
91+
env_vars: |-
92+
AGOL_ORG=${{ inputs.agol_org }}
93+
TAG_NAME=${{ inputs.tag_name }}
8594
flags: |
8695
--memory=512Mi
8796
--service-account=cloud-run-sa@${{ inputs.project_id }}.iam.gserviceaccount.com

.github/workflows/push.yml

+2
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,5 @@ jobs:
7979
service_account_email: ${{ secrets.SERVICE_ACCOUNT_EMAIL }}
8080
pause_schedule_job: 'yes'
8181
github_token: ${{ secrets.GITHUB_TOKEN }}
82+
agol_org: ${{ vars.AGOL_ORG }}
83+
tag_name: ${{ vars.TAG_NAME }}

.github/workflows/release.yml

+2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333
identity_provider: ${{ secrets.IDENTITY_PROVIDER }}
3434
service_account_email: ${{ secrets.SERVICE_ACCOUNT_EMAIL }}
3535
github_token: ${{ secrets.GITHUB_TOKEN }}
36+
agol_org: ${{ vars.AGOL_ORG }}
37+
tag_name: ${{ vars.TAG_NAME }}
3638

3739
deploy-firebase-prod:
3840
name: Deploy Firebase project to production

0 commit comments

Comments
 (0)