diff --git a/.github/workflows/firebase-hosting-merge-beta.yml b/.github/workflows/firebase-hosting-merge-beta.yml index 87f6ca9a..f3b2a1d8 100644 --- a/.github/workflows/firebase-hosting-merge-beta.yml +++ b/.github/workflows/firebase-hosting-merge-beta.yml @@ -3,12 +3,20 @@ on: push: branches: - beta + # Since this action only deploys the front-end SvelteKit SPA + # backend resources can be ignored. paths-ignore: + # An updated backend shouldn't trigger deploys - api/** + # We don't have automated Firestore rules deploys yet. + - firestore* + # Updated docs shouldn't trigger deploys - docs/** - README.md - CONTRIBUTING.md - SECURITY.md + # We don't have automated front-end tests. + - tests jobs: build_and_deploy: runs-on: ubuntu-latest diff --git a/.github/workflows/firebase-hosting-merge-staging.yml b/.github/workflows/firebase-hosting-merge-staging.yml index bf09f327..1969b0fe 100644 --- a/.github/workflows/firebase-hosting-merge-staging.yml +++ b/.github/workflows/firebase-hosting-merge-staging.yml @@ -3,12 +3,20 @@ on: push: branches: - staging + # Since this action only deploys the front-end SvelteKit SPA + # backend resources can be ignored. paths-ignore: + # An updated backend shouldn't trigger deploys - api/** + # We don't have automated Firestore rules deploys yet. + - firestore* + # Updated docs shouldn't trigger deploys - docs/** - README.md - CONTRIBUTING.md - SECURITY.md + # We don't have automated front-end tests. + - tests jobs: build_and_deploy: runs-on: ubuntu-latest diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index 91aebe69..be88e017 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -3,12 +3,20 @@ on: push: branches: - master + # Since this action only deploys the front-end SvelteKit SPA + # backend resources can be ignored. paths-ignore: + # An updated backend shouldn't trigger deploys - api/** + # We don't have automated Firestore rules deploys yet. + - firestore* + # Updated docs shouldn't trigger deploys - docs/** - README.md - CONTRIBUTING.md - SECURITY.md + # We don't have automated front-end tests. + - tests jobs: build_and_deploy: runs-on: ubuntu-latest diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index 0980a6f6..b6fadce3 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -2,12 +2,20 @@ name: Deploy to Firebase Hosting on PR on: pull_request: # This might happen https://github.com/actions/runner/issues/2324 + # Since this action only deploys the front-end SvelteKit SPA + # backend resources can be ignored. paths-ignore: + # An updated backend shouldn't trigger deploys - api/** + # We don't have automated Firestore rules deploys yet. + - firestore* + # Updated docs shouldn't trigger deploys - docs/** - README.md - CONTRIBUTING.md - SECURITY.md + # We don't have automated front-end tests. + - tests jobs: build_and_preview: if: "${{ github.event.pull_request.head.repo.full_name == github.repository }}"