chore: bump GitHub action workflows (#520) #78
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/** |