Skip to content

Update short-stories.yml #2981

Update short-stories.yml

Update short-stories.yml #2981

Workflow file for this run

name: GitHub Pages
on:
push:
paths-ignore:
- _data
- data
- .gitignore
- notes
- scripts
- LICENSE.txt
- README.md
- SECURITY.md
branches:
- master
workflow_dispatch:
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- name: SCM
uses: actions/checkout@v3
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.124.1'
extended: true
- name: Build
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.ACCESS_TOKEN }}
publish_dir: ./public
publish_branch: gh-pages