Skip to content

chore: update npm packages (#528) #85

chore: update npm packages (#528)

chore: update npm packages (#528) #85

name: update resources
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup hugo
uses: peaceiris/actions-hugo@v3
with:
extended: true
hugo-version: 0.134.2
- name: setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: install
run: |
npm ci
npm run prepare
- name: build
run: npm run build
- name: commit resources
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'chore: build resources'
file_pattern: resources/** exampleSite/resources/**