Skip to content

Prod | Deploy CORS

Prod | Deploy CORS #5

Workflow file for this run

name: Prod | Deploy CORS
on:
workflow_dispatch:
env:
project: 'genos-ec52a'
bucket: 'gs://genos-ec52a.firebasestorage.app'
jobs:
deploy:
timeout-minutes: 5
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Setup - gcloud
uses: google-github-actions/auth@v1
with:
credentials_json: '${{ secrets.SERVICE_ACCOUNT }}'
- name: Set up Cloud SDK
uses: 'google-github-actions/setup-gcloud@v1'
- name: Deploy Rules
run: gsutil cors set firebase-cors.json $BUCKET
env:
BUCKET: '${{ env.bucket }}'