-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update GitHub actions and improve syntax readability
- Loading branch information
Showing
4 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,12 +27,12 @@ runs: | |
shell: bash | ||
run: docker build -t ${{ inputs.region }}-docker.pkg.dev/${{ inputs.projectId }}/${{ inputs.registry }}:${{ inputs.tag }} ${{ inputs.folder }} | ||
- name: Auth Google Cloud | ||
uses: google-github-actions/[email protected].7 | ||
uses: google-github-actions/[email protected].8 | ||
with: | ||
workload_identity_provider: projects/900797847730/locations/global/workloadIdentityPools/github/providers/hplush | ||
service_account: github-deploy@${{ inputs.projectId }}.iam.gserviceaccount.com | ||
- name: Install Google Cloud | ||
uses: google-github-actions/[email protected].2 | ||
uses: google-github-actions/[email protected].4 | ||
- name: Auth Docker | ||
shell: bash | ||
run: gcloud auth configure-docker ${{ inputs.region }}-docker.pkg.dev --quiet | ||
|
@@ -41,7 +41,7 @@ runs: | |
run: docker push ${{ inputs.region }}-docker.pkg.dev/${{ inputs.projectId }}/${{ inputs.registry }}:${{ inputs.tag }} | ||
- name: Deploy to Cloud Run | ||
id: deploy | ||
uses: google-github-actions/[email protected].2 | ||
uses: google-github-actions/[email protected].3 | ||
with: | ||
service: ${{ inputs.service }} | ||
region: ${{ inputs.region }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,7 +52,7 @@ jobs: | |
tag: preview-${{ env.PR_NUMBER }} | ||
env: ASSETS=1,DATABASE_URL=memory://,PROXY_ORIGIN=^https:\/\/preview-\d+---staging-server-900797847730\.europe-west1\.run\.app$ | ||
# flags: | | ||
# --update-secrets=DATABASE_URL=preview-db-url:latest | ||
# --update-secrets DATABASE_URL=preview-db-url:latest | ||
- name: Update deployment status | ||
uses: bobheadxi/[email protected] | ||
if: always() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters