Merge pull request #4136 from hpcc-systems/dependabot/npm_and_yarn/co… #233
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-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "16.x" | |
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 |