deploy the docs app from a PR to gh-pages #1
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: Deploy PR previews | |
on: [pull_request] # TODO this should trigger on master, this is temp for testing purposed | |
jobs: | |
deploy-preview: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: npm ci && npm run bootstrap | |
- name: Build docs-app | |
run: npm run build:docs | |
- uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: ./packages/__docs__/__build__ | |
branch: gh-pages | |
clean-exclude: pr-preview | |
force: false |