File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 1717 pull_request :
1818 paths :
1919 - " site/**"
20+ - " firebase/**"
2021 push :
2122 paths :
2223 - " site/**"
24+ - " firebase/**"
2325jobs :
2426 build :
2527 runs-on : ubuntu-latest
3638 - name : Lint site content
3739 run : npm i && npm run lint-check
3840 working-directory : site
41+ - name : Lint firebase functions
42+ run : make site-functions-lint
3943 - name : Install Site Checker
4044 run : yarn install
4145 working-directory : href-checker
Original file line number Diff line number Diff line change @@ -28,10 +28,16 @@ jobs:
2828 - uses : actions/setup-node@v2
2929 with :
3030 node-version : ' 16'
31+ - name : Install firebase-tools
32+ run : npm install -g firebase-tools
3133 - name : Generate Site
3234 run : make site-run-server
3335 - name : Generate sitemap
3436 run : make site-map
37+ - name : Deploy firebase functions
38+ run : make site-deploy-functions
39+ env :
40+ FIREBASE_TOKEN : " ${{ secrets.FIREBASE_SERVICE_ACCOUNT_KPT_DEV }}"
3541 - uses : FirebaseExtended/action-hosting-deploy@276388dd6c2cde23455b30293105cc866c22282d # v0
3642 with :
3743 repoToken : " ${{ secrets.GITHUB_TOKEN }}"
Original file line number Diff line number Diff line change @@ -116,3 +116,9 @@ site-check:
116116
117117site-verify-examples :
118118 ./scripts/verifyExamples.sh
119+
120+ site-functions-deploy :
121+ npm run --prefix=firebase/functions deploy
122+
123+ site-functions-lint :
124+ npm run --prefix=firebase/functions lint
You can’t perform that action at this time.
0 commit comments