Skip to content

Bump axios from 0.21.4 to 1.6.0 in /cloud-functions/alerts-tiler #3

Bump axios from 0.21.4 to 1.6.0 in /cloud-functions/alerts-tiler

Bump axios from 0.21.4 to 1.6.0 in /cloud-functions/alerts-tiler #3

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 }}"'