Merge pull request #1106 from samchon/dependabot/npm_and_yarn/website… #174
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: website | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- '.github/workflows/website.yml' | |
- 'website/**' | |
- 'website/package.json' | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Root Setup | |
run: pnpm install && npm run build | |
- name: Build | |
working-directory: website | |
run: npm install && npm run build | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@4.1.3 | |
with: | |
branch: gh-pages | |
folder: ./website/out |