ci: test auto release #21
Workflow file for this run
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
name: "tagged-release" | |
on: | |
push: | |
branches: [ "test_auto_release" ] | |
tags: | |
- "v*" | |
permissions: read-all | |
jobs: | |
tagged-release: | |
name: "Tagged Release" | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: 'actions/checkout@v3' | |
- id: 'auth' | |
name: 'Authenticate to Google Cloud' | |
uses: 'google-github-actions/auth@v1' | |
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' | |
# 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 | |