Skip to content

Commit a3c0b50

Browse files
feat: add Firebase deployment step to GitHub Actions workflow
1 parent 16ad0f1 commit a3c0b50

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/pages.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,16 @@ jobs:
5757
steps:
5858
- id: deployment
5959
uses: actions/deploy-pages@v4
60+
61+
deploy-firebase:
62+
needs: build
63+
runs-on: ubuntu-latest
64+
steps:
65+
- uses: actions/checkout@v4
66+
- uses: actions/setup-node@v4
67+
with:
68+
node-version: '20'
69+
- name: Install Firebase CLI
70+
run: npm install -g firebase-tools
71+
- name: Deploy to Firebase
72+
run: firebase deploy --only hosting --token ${{ secrets.FIREBASE_SERVICE_ACCOUNT_DITECTREV_BLOG }}

0 commit comments

Comments
 (0)