Skip to content

add hugo minify

add hugo minify #64

Workflow file for this run

name: "anima doc"
on: push
jobs:
build-docusaurus:
name: Build Docusaurus
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: "0.126.0"
- name: Build
path: ./docs

Check failure on line 16 in .github/workflows/doc.yml

View workflow run for this annotation

GitHub Actions / anima doc

Invalid workflow file

The workflow is not valid. .github/workflows/doc.yml (Line: 16, Col: 9): Unexpected value 'path'
run: hugo --minify
- name: Checkout Docs repo
uses: actions/checkout@v3
with:
repository: ceceppa/anima-doc
path: ./docs/anima-doc
token: ${{ secrets.TOKEN }}
- name: Deploy
shell: bash {0}
run: |
cd docs/anima-doc
git config user.name "GitHub Actions Bot"
git config user.email "<senesealessandro@gmail.com>"
rm -rf *
cp -r ../build/* .
git add .
git commit -m "Update docs"
git push origin main