Skip to content

minor fix

minor fix #14

Workflow file for this run

name: Docs Pages
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'assets/**'
- 'config/**'
- 'content/**'
- 'data/**'
- 'layouts/**'
- 'static/**'
- 'hugo.toml'
jobs:
deploy:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Install npm dependencies & build
run: |
npm install
- name: Set up Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.118.2'
extended: true
- name: Build pages
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
allow_empty_commit: true
cname: fastbootstrap.com