Skip to content

v1.0.6

v1.0.6 #7

Workflow file for this run

name: Release Events
on:
release:
types: [published]
concurrency:
group: '${{ github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
deploy-cloudrun-prod:
name: Deploy Cloud Run to production
runs-on: ubuntu-latest
environment:
name: prod
permissions:
id-token: write
contents: read
steps:
- name: ⬇️ Set up code
uses: actions/checkout@v4
with:
show-progress: false
- name: 🚀 Deploy
uses: ./.github/actions/deploy-cloudrun
timeout-minutes: 15
with:
project_id: ${{ secrets.PROJECT_ID }}
identity_provider: ${{ secrets.IDENTITY_PROVIDER }}
service_account_email: ${{ secrets.SERVICE_ACCOUNT_EMAIL }}
github_token: ${{ secrets.GITHUB_TOKEN }}
agol_org: ${{ vars.AGOL_ORG }}
tag_name: ${{ vars.TAG_NAME }}
deploy-firebase-prod:
name: Deploy Firebase project to production
runs-on: ubuntu-latest
permissions:
id-token: write
environment:
name: prod
url: https://ut-dts-agrc-moonwalk-prod.web.app/
steps:
- name: ⬇️ Set up code
uses: actions/checkout@v4
with:
show-progress: false
- name: 🚀 Deploy
uses: ./.github/actions/deploy-firebase
with:
identity_provider: ${{ secrets.IDENTITY_PROVIDER }}
service_account_email: ${{ secrets.SERVICE_ACCOUNT_EMAIL }}
project_id: ${{ secrets.PROJECT_ID }}
firebase_config: ${{ secrets.FIREBASE_CONFIG }}
build_command: npm run build -- --mode production
notify:
name: Notifications
runs-on: ubuntu-latest
needs: [deploy-cloudrun-prod, deploy-firebase-prod]
permissions:
contents: read
pull-requests: write
issues: write
steps:
- name: Release Notifier
uses: agrc/release-issue-notifications-action@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}