File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish documentation
2+ on :
3+ push :
4+ branches :
5+ - main
6+ permissions :
7+ contents : write
8+ jobs :
9+ deploy :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v4
13+ - uses : actions/setup-python@v4
14+ with :
15+ python-version : 3.11
16+ - run : echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
17+ - uses : actions/cache@v3
18+ with :
19+ key : mkdocs-material-${{ env.cache_id }}
20+ path : .cache
21+ restore-keys : |
22+ mkdocs-material-
23+ - run : pip install mkdocs-material
24+ - run : if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
25+ - run : mkdocs gh-deploy --force
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ docs_dir: docs
1111theme :
1212 name : material
1313 custom_dir : overrides
14+ favicon : img/favicon.png
1415 logo : img/RingCentral_logo_color.png
1516 font :
1617 code : Roboto Mono
You can’t perform that action at this time.
0 commit comments