Skip to content

build(deps): bump actions/checkout from 5 to 6 #476

build(deps): bump actions/checkout from 5 to 6

build(deps): bump actions/checkout from 5 to 6 #476

Workflow file for this run

name: hugo
on:
pull_request:
push:
jobs:
hugo:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v6
-
name: Install nodejs
uses: actions/setup-node@v5
with:
node-version: '14'
-
name: Install dependencies
run: npm install
-
name: Run Hugo
run: make static
-
name: Deploy to GitHub Pages
if: success() && github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
uses: crazy-max/[email protected]
with:
target_branch: gh-pages
build_dir: public
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}