Bump cross-spawn from 7.0.3 to 7.0.6 in /docs (#211) #23
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
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
paths: | |
- docs/** | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
- name: Install dependencies | |
run: npm install | |
working-directory: ./docs | |
- name: Build site | |
run: npm run build | |
working-directory: ./docs | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: gh-pages # Branch where your GitHub Pages content will be deployed | |
publish_dir: ./docs/build # Path to the build output folder | |
cname: crestapps.github.io |