trailing slash on void tags is frowned upon #56
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: github pages | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
fetch-depth: 0 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Setup pelican | |
shell: bash | |
run: | | |
pip install wheel pyclean pelican beautifulsoup4 | |
git submodule update --init | |
- name: Build | |
run: | | |
pyclean ./ | |
pelican --delete-output-directory --debug --fatal errors content -s publishconf.py | |
- name: HTML5 Validator | |
uses: Cyb3r-Jak3/html5validator-action@master | |
with: | |
root: output/ | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
enable_jekyll: false | |
publish_dir: ./output | |
cname: www.studyforrest.org | |
user_name: 'AutoBuild' | |
user_email: 'blackhole@studyforrest.org' | |
commit_message: ${{ github.event.head_commit.message }} |