Skip to content

Commit

Permalink
ci: test auto release
Browse files Browse the repository at this point in the history
  • Loading branch information
dyaskur committed Sep 8, 2023
1 parent e1882be commit dd31431
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ jobs:
runs-on: "ubuntu-latest"

steps:
- uses: 'actions/checkout@v3'
- uses: 'actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac'
- name: Use Node.js
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
- run: yarn install

- id: 'auth'
name: 'Authenticate to Google Cloud'
uses: 'google-github-actions/auth@v1'
uses: 'google-github-actions/auth@35b0e87d162680511bf346c299f71c9c5c379033'
with:
credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}'
- name: Use Node.js
uses: actions/setup-node@v3
- run: yarn install

- name: 'Set up Cloud SDK'
uses: 'google-github-actions/setup-gcloud@v1'
uses: 'google-github-actions/setup-gcloud@e30db14379863a8c79331b04a9969f4c1e225e0b'

# Now you can run gcloud commands authenticated as the impersonated service account.
- id: 'gcloud'
name: 'gcloud'
run: |
gcloud functions deploy app --trigger-http --security-level=secure-always --allow-unauthenticated --runtime nodejs18 --user-output-enabled=false
gcloud functions deploy app --trigger-http --security-level=secure-always --allow-unauthenticated --runtime nodejs20

0 comments on commit dd31431

Please sign in to comment.