Bump follow-redirects in /cloud-functions/alerts-tiler #4
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: Deploy fetch alerts heatmap cloud functions to google | |
permissions: | |
id-token: write | |
contents: read | |
on: | |
push: | |
branches: | |
- 'develop' | |
- 'master' | |
paths: | |
- 'cloud-functions/alerts-tiler/**' | |
workflow_dispatch: | |
jobs: | |
run: | |
name: Deploy fetch alerts cloud function | |
runs-on: ubuntu-20.04 | |
permissions: | |
contents: 'read' | |
id-token: 'write' | |
steps: | |
- uses: actions/checkout@v3 | |
- id: auth | |
name: Authenticate in google cloud services | |
uses: google-github-actions/[email protected] | |
with: | |
credentials_json: '${{ secrets.gcp_credentials }}' | |
- id: 'deploy' | |
name: GC Functions deployment | |
uses: 'google-github-actions/[email protected]' | |
with: | |
name: 'alerts-tiler' | |
runtime: 'nodejs18' | |
entry_point: 'fetchAlertsTiler' | |
memory_mb: '256' | |
region: 'us-central1' | |
source_dir: 'cloud-functions/alerts-tiler' | |
# Example of using the output | |
- id: 'test' | |
name: GC Functions testing deployment | |
run: 'curl "${{ steps.deploy.outputs.url }}"' |