Skip to content

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

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

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

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@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # 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