Update documentation to e836956019c2cb85a4fc646e7bc0f681a4c2414a #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Main | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
name: Build and Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 # Hugo uses Git information to fetch .Lastmod information (enableGitInfo). | |
- name: Setup Python 3.x | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- name: Install Python dependencies | |
run: pip install -r requirements.txt | |
- name: Build | |
run: make build | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
force_orphan: true | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_branch: html | |
publish_dir: ./public |