Merge pull request #4237 from GordonSmith/FIX_GALLERY #368
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 gh-pages | |
on: | |
push: | |
branches: [trunk, trunk-future] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
registry-url: "https://registry.npmjs.org" | |
scope: "@hpcc-js" | |
- run: npm ci | |
- run: npm run build | |
- run: npm run build-api | |
- run: npm run build-docs | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./.vitepress/dist | |
force_orphan: true | |
env: | |
CI: true |