-
-
Notifications
You must be signed in to change notification settings - Fork 8
45 lines (42 loc) · 1 KB
/
firebase-hosting-merge.yml
File metadata and controls
45 lines (42 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: firebase deploy merge
on:
push:
branches:
- master
paths:
- 'docs/**'
- '.github/**'
env:
PYTHON_VERSION: 3.9
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Set up Python runtime
uses: actions/setup-python@v1
with:
python-version: ${{ env.PYTHON_VERSION }}
-
name: Install Python dependencies
run: |
pip install \
mkdocs==1.4.2 \
mkdocs-material==9.0.3
-
name: Build documentation
run: |
mkdocs build --clean
-
name: Firebase deploy
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_JAIMETEB }}'
channelId: live
projectId: jaimeteb
env:
FIREBASE_CLI_PREVIEWS: hostingchannels