Merge pull request #3123 from datatrue-analytics/dependabot/npm_and_y… #2604
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: Docs | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Use Node.js 20 | |
| uses: actions/[email protected] | |
| with: | |
| node-version: 20 | |
| - name: npm install | |
| run: npm install | |
| - name: Generate docs | |
| run: npm run docs | |
| - name: Deploy docs | |
| uses: JamesIves/[email protected] | |
| with: | |
| branch: gh-pages | |
| folder: docs | |
| clean: true |