Skip to content

Merge pull request #51 from hermet/main #375

Merge pull request #51 from hermet/main

Merge pull request #51 from hermet/main #375

Workflow file for this run

name: Build Pages
on:
push:
branches:
- main
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-20.04
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Setup
run: |
sudo apt update -q
sudo apt install -yy python python3-pip python3-virtualenv make
make install_dependencies
-
name: Docs
run: |
make docs
-
name: Validate
run: |
make validate
make validate_links
-
name: Deploy to GitHub Pages
if: success()
uses: crazy-max/ghaction-github-pages@v2
with:
target_branch: gh-pages
build_dir: site
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}