PhotoOdyssey #350
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 Firebase Hosting | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: read | |
steps: | |
### Set up ### | |
- uses: actions/checkout@v4 | |
- name: Install Pandoc | |
uses: pandoc/actions/setup@main | |
with: | |
version: 3.3 | |
- name: Run pandoc | |
run: pandoc --version | |
- name: Setup Firebase CLI Dev | |
uses: KoheiKanagu/composite-actions/setup-firebase-cli@main | |
with: | |
workload_identity_provider: "projects/939401085199/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider" | |
service_account: "[email protected]" | |
### Build ### | |
- name: Build | |
run: | | |
./convert.sh | |
### Deploy ### | |
- name: Test | |
run: | | |
firebase deploy |