-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (33 loc) · 1.18 KB
/
main.yml
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
name: Deploy Documentation
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
if: github.event.repository.fork == false
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.PAT }} # Use your PAT here
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install mkdocs-material
- run: pip install mkdocs-macros-plugin
- run: pip install mkdocs-encryptcontent-plugin
- run: pip install mkdocs-awesome-pages-plugin
- run: pip install mkdocs-git-revision-date-plugin
- run: pip install mkdocs-awesome-pages-plugin
- run: pip install pygments
- run: pip install pymdown-extensions
- run: pip install mkdocs-table-reader-plugin
- run: mkdocs build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.PAT }} # Use your PAT here
publish_dir: ./site
env:
ASIA_191_PASS: ${{secrets.ASIA_191_PASS}}