chore: workflow test #8
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.title == 'chore":" version packages' | |
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: Link 🔨 | |
run: yarn | |
- name: packages build 🔨 | |
run: yarn build | |
- name: prepare 🔨 | |
run: yarn prepare:docs | |
- name: document build 🔨 | |
run: yarn build:docs | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
token: ${{ secrets.PUBLISH_TOKEN }} | |
folder: ./docs/build | |