chore(deps-dev): bump gh-pages from 6.1.1 to 6.2.0 #428
Workflow file for this run
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: Document Publish | |
on: | |
pull_request: | |
types: | |
- closed | |
branches: | |
- main | |
jobs: | |
document-publish: | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.merged == true && github.event.pull_request.user.login == 'github-actions[bot]' | |
steps: | |
- name: Checkout 🔔 | |
uses: actions/checkout@v4 | |
- name: Node Setup 🔔 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
registry-url: 'https://registry.npmjs.org' | |
- name: install 🔨 | |
run: yarn install --immutable | |
- name: packages build 🔨 | |
run: lerna run build | |
- name: document build 🔨 | |
run: yarn build:docs | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
token: ${{ secrets.PUBLISH_TOKEN }} | |
folder: ./docs/build | |