File tree Expand file tree Collapse file tree 2 files changed +28
-1
lines changed
Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 1+ name : task-5-workflow
2+ run-name : Task 5 workflow
3+ on :
4+ push :
5+ branches :
6+ - main
7+ paths :
8+ - " website/**"
9+
10+ defaults :
11+ run :
12+ working-directory : website
13+ jobs :
14+ deploy-website :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout code
18+ uses : actions/checkout@v4
19+ - uses : FirebaseExtended/action-hosting-deploy@v0
20+ id : deploy
21+ with :
22+ firebaseServiceAccount : " ${{ secrets.FIREBASE_SERVICE_ACCOUNT }}"
23+ channelId : live
24+ projectId : ${{ vars.FIREBASE_PROJECT_ID }}
25+ entryPoint : website
26+ # Cannot use details_url here because it is production deployment
27+ - run : echo "Website deployed to https://${{ vars.FIREBASE_PROJECT_ID }}.web.app"
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ <h1>Calculator App</h1>
1717 < p > < a href ="./releases.html "> Version History & Releases</ a > </ p >
1818 </ div >
1919 < footer >
20- < p > © 2024 Calculator App Company</ p >
20+ < p > © 2024 Calculator App Company - GithubActions Kata </ p >
2121 < p > < a href ="#privacy-policy "> Privacy Policy</ a > | < a href ="#terms-of-service "> Terms of Service</ a > </ p >
2222 </ footer >
2323 </ div >
You can’t perform that action at this time.
0 commit comments