chore: run prettier (#513) #76
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@v3 | |
- name: setup hugo | |
uses: peaceiris/actions-hugo@v2 | |
with: | |
extended: true | |
hugo-version: 0.111.3 | |
- name: setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: install | |
run: | | |
npm ci | |
npm run prepare | |
- name: build | |
run: npm run build | |
- name: commit resources | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: 'chore: build resources' | |
file_pattern: resources/** exampleSite/resources/** |