Skip to content

build(deps): bump actions/checkout from 4.1.7 to 4.2.2 #316

build(deps): bump actions/checkout from 4.1.7 to 4.2.2

build(deps): bump actions/checkout from 4.1.7 to 4.2.2 #316

Workflow file for this run

name: hugo
on:
pull_request:
push:
jobs:
hugo:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/[email protected]
-
name: Run Hugo
uses: crazy-max/ghaction-hugo@v2
with:
version: latest
extended: false
args: --minify --verbose
-
name: Deploy to GitHub Pages
if: success() && github.event_name != 'pull_request'
uses: crazy-max/ghaction-github-pages@v3
with:
target_branch: gh-pages
build_dir: public
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}