Merge pull request #1463 from nubolab-ffwd/renovate/actions-setup-nod… #794
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
on: | |
push: | |
branches: | |
- main | |
name: Docs site | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.2.2 | |
- uses: pnpm/action-setup@v4.0.0 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4.2.0 | |
with: | |
node-version: 20.x | |
cache: 'pnpm' | |
- run: pnpm install --frozen-lockfile --strict-peer-dependencies | |
- run: pnpm build | |
- name: Deploy to GH Pages | |
uses: peaceiris/actions-gh-pages@v4.0.0 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./build |