2.1.0 #31
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: Pages Build | |
on: | |
push: | |
branches: [ master ] | |
paths-ignore: [ 'docs/**' ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: .nvmrc | |
registry-url: https://registry.npmjs.org/ | |
- run: npm ci | |
- run: npm run docs | |
- run: | | |
git config --global user.name 'Alessandro' | |
git config --global user.email '[email protected]' | |
git add -A | |
git diff-index --quiet HEAD || git commit -m "chore: build pages" && git push |