feat: migrate production hosting from GCP to Clever Cloud Cellar #121
This file contains hidden or 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 to Firebase Hosting | |
| on: | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Fetch and Build content | |
| uses: ./.github/actions/astro | |
| with: | |
| token: ${{ secrets.GH_PAT }} | |
| branch: ${{ github.head_ref || github.ref_name }} | |
| - uses: FirebaseExtended/action-hosting-deploy@v0 | |
| with: | |
| repoToken: '${{ secrets.GITHUB_TOKEN }}' | |
| firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_ZATSIT_GREENSCORE_STAGING }} | |
| projectId: zatsit-dsi-externalsites-dev | |
| target: zatsit-greenscore-d9dfb | |
| expires: 30d |