Skip to content

Commit 4507fc2

Browse files
committed
Update GitHub actions and improve syntax readability
1 parent 734a0fb commit 4507fc2

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/actions/deploy/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ runs:
2727
shell: bash
2828
run: docker build -t ${{ inputs.region }}-docker.pkg.dev/${{ inputs.projectId }}/${{ inputs.registry }}:${{ inputs.tag }} ${{ inputs.folder }}
2929
- name: Auth Google Cloud
30-
uses: google-github-actions/[email protected].7
30+
uses: google-github-actions/[email protected].8
3131
with:
3232
workload_identity_provider: projects/900797847730/locations/global/workloadIdentityPools/github/providers/hplush
3333
service_account: github-deploy@${{ inputs.projectId }}.iam.gserviceaccount.com
3434
- name: Install Google Cloud
35-
uses: google-github-actions/[email protected].2
35+
uses: google-github-actions/[email protected].4
3636
- name: Auth Docker
3737
shell: bash
3838
run: gcloud auth configure-docker ${{ inputs.region }}-docker.pkg.dev --quiet
@@ -41,7 +41,7 @@ runs:
4141
run: docker push ${{ inputs.region }}-docker.pkg.dev/${{ inputs.projectId }}/${{ inputs.registry }}:${{ inputs.tag }}
4242
- name: Deploy to Cloud Run
4343
id: deploy
44-
uses: google-github-actions/[email protected].2
44+
uses: google-github-actions/[email protected].3
4545
with:
4646
service: ${{ inputs.service }}
4747
region: ${{ inputs.region }}

.github/actions/init-node/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ runs:
1010
using: composite
1111
steps:
1212
- name: Install pnpm
13-
uses: pnpm/action-setup@v4.0.0
13+
uses: pnpm/action-setup@v4.1.0
1414
- name: Install Node.js
15-
uses: actions/setup-node@v4.1.0
15+
uses: actions/setup-node@v4.2.0
1616
with:
1717
node-version-file: .node-version
1818
cache: ${{ inputs.cache && 'pnpm' || '' }}

.github/workflows/preview-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
tag: preview-${{ env.PR_NUMBER }}
5353
env: ASSETS=1,DATABASE_URL=memory://,PROXY_ORIGIN=^https:\/\/preview-\d+---staging-server-900797847730\.europe-west1\.run\.app$
5454
# flags: |
55-
# --update-secrets=DATABASE_URL=preview-db-url:latest
55+
# --update-secrets DATABASE_URL=preview-db-url:latest
5656
- name: Update deployment status
5757
uses: bobheadxi/[email protected]
5858
if: always()

.github/workflows/server.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
# Persistent database was disable temporary to save money
9595
# flags: |
9696
# --vpc-connector db-connector
97-
# --update-secrets=DATABASE_URL=staging-db-url:latest
97+
# --update-secrets DATABASE_URL=staging-db-url:latest
9898
flags: |
99-
--add-volume=name=db,type=cloud-storage,bucket=staging-db
100-
--add-volume-mount=volume=db,mount-path=/var/mnt/staging-db/
99+
--add-volume name=db,type=cloud-storage,bucket=staging-db
100+
--add-volume-mount volume=db,mount-path=/var/mnt/staging-db/

0 commit comments

Comments
 (0)