Skip to content

chore(deps): update actions/checkout action to v4 #1788

chore(deps): update actions/checkout action to v4

chore(deps): update actions/checkout action to v4 #1788

Workflow file for this run

# name of the action
name: build
# trigger on pull_request or push events
on:
push:
pull_request:
# pipeline to execute
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: clone
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
submodules: recursive
fetch-depth: 0
- name: node
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version: '18'
- name: hugo
uses: peaceiris/actions-hugo@16361eb4acea8698b220b76c0d4e84e1fd22c61d # v2
with:
hugo-version: '0.108.0'
extended: true
- name: build
env:
HUGO_ENV: production
HUGO_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm install -D --save autoprefixer
npm install -D --save postcss-cli
hugo --minify