Skip to content

chore(report): have to lowercase for startcase to work #15

chore(report): have to lowercase for startcase to work

chore(report): have to lowercase for startcase to work #15

Workflow file for this run

name: Push Events (Functions)
on:
push:
branches:
- main
- dev
paths:
- "src/functions/**"
- ".github/workflows/push.functions.yml"
concurrency:
group: "${{ github.head_ref || github.ref }}-functions"
cancel-in-progress: true
jobs:
deploy-dev:
name: Deploy to dev
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
environment:
name: dev
steps:
- name: ⬇️ Set up code
uses: actions/checkout@v4
with:
show-progress: false
- id: auth
name: 🗝️ Authenticate to Google Cloud
uses: google-github-actions/auth@v1
with:
create_credentials_file: true
token_format: access_token
workload_identity_provider: ${{ secrets.IDENTITY_PROVIDER }}
service_account: ${{ secrets.SERVICE_ACCOUNT_EMAIL }}
- name: 🚀 Deploy Cloud Function
id: deploy
uses: google-github-actions/deploy-cloud-functions@v1
with:
name: pdf
runtime: nodejs20
source_dir: src/functions
entry_point: generate
service_account_email: cloud-function-sa@${{ secrets.PROJECT_ID }}.iam.gserviceaccount.com
https_trigger_security_level: "secure_always"
timeout: "2m"
env_vars: BUCKET=${{ vars.BUCKET }}