Skip to content

Minor tweaks

Minor tweaks #211

Workflow file for this run

name: Deploy pages
on:
push:
branches: [ master ]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
hugo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions/setup-python@v2
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
extended: true
- name: Run hugo
shell: bash
run: |
mkdir public
hugo --minify
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: 'public/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2