Skip to content

Commit c1a0198

Browse files
committed
docs: try deploy
1 parent d27e05d commit c1a0198

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
lines changed

Diff for: .firebaserc

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"projects": {
3-
"default": "vue-fire-store"
3+
"default": "vue-fire-store",
4+
"docs": "vuefiredocs"
45
}
56
}

Diff for: .github/workflows/docs.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# From https://github.com/marketplace/actions/deploy-to-firebase-hosting
2+
3+
name: Deploy Docs
4+
5+
on:
6+
push:
7+
branches:
8+
- main
9+
paths:
10+
- 'docs/**'
11+
12+
jobs:
13+
deploy_live_website:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
# Add any build steps here. For example:
18+
- run: pnpm i && pnpm run docs:build
19+
- uses: FirebaseExtended/action-hosting-deploy@v0
20+
with:
21+
repoToken: '${{ secrets.GITHUB_TOKEN }}'
22+
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_VUEFIREDOCS }}'
23+
projectId: vuefiredocs
24+
channelId: live

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ temp
1111
roadmap.md
1212
*-debug.log
1313
docs/api
14+
.firebase

0 commit comments

Comments
 (0)