chore(deps): update actions/setup-node action to v6.4.0 (#371) #247
This file contains hidden or 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: Deploy documentation π | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build-and-deploy: | |
| concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession. | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout ποΈ | |
| uses: actions/checkout@v6.0.2 | |
| - name: Install and Build π§ | |
| run: | | |
| npm ci | |
| mkdir html | |
| touch html/.nojekyll | |
| node src/cli.js -i schemata -o html/index.html | |
| ls -ltur html | |
| - name: Deploy π | |
| uses: JamesIves/github-pages-deploy-action@v4 | |
| with: | |
| folder: html | |
| branch: gh-pages | |
| clean-exclude: pr-preview |