Skip to content

Commit

Permalink
website.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
samchon committed May 16, 2024
1 parent cf2f89d commit 0c4f047
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: website
on:
push:
branches:
- master
paths:
- '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
- name: Root Install
run: npm install
- name: Build
working-directory: website
run: npm install && npm run build
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: ./website/out

0 comments on commit 0c4f047

Please sign in to comment.