Skip to content

Old Hugo

Old Hugo #172

Workflow file for this run

name: github pages
on:
push:
branches:
- master
- site
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: refresh apt
run: sudo apt update
- name: install dependencies
run: sudo apt install wget
- name: install hugo
run: wget https://github.com/gohugoio/hugo/releases/download/v0.122.0/hugo_extended_0.122.0_linux-amd64.deb
run: sudo apt install hugo_extended_0.122.0_linux-amd64.deb

Check failure on line 23 in .github/workflows/gh-pages.yml

View workflow run for this annotation

GitHub Actions / github pages

Invalid workflow file

The workflow is not valid. .github/workflows/gh-pages.yml (Line: 23, Col: 9): 'run' is already defined
# run: sudo snap install hugo --channel=extended
- name: install theme
run: git submodule update --init --recursive
- name: patch config
run: git apply .github/workflows/config.patch
- name: make
run: make
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public