Skip to content

Add correct attributions to the above-the-line #82

Add correct attributions to the above-the-line

Add correct attributions to the above-the-line #82

Workflow file for this run

name: GitHub Pages
on:
push:
branches: [ main ]
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- name: Git checkout
uses: actions/checkout@v3
with:
submodules: recursive # fetch Hugo themes
fetch-depth: 0
- name: Init submodules
run: git submodule update --init --recursive
- uses: actions/cache@v3
with:
path: /tmp/hugo_cache
key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-hugomod-
- name: Setup hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "latest"
extended: true
- name: Build
# remove --minify tag if you do not need it
# docs: https://gohugo.io/hugo-pipes/minification/
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
keep_files: true
publish_branch: site