Skip to content

Commit

Permalink
build: add more files to GH actions to ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
th0rgall committed Aug 20, 2024
1 parent 7744dd4 commit 0e61b56
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/firebase-hosting-merge-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/firebase-hosting-merge-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down

0 comments on commit 0e61b56

Please sign in to comment.