Skip to content

Commit

Permalink
ci: add gh-page deploy
Browse files Browse the repository at this point in the history
Signed-off-by: GeunSam2 <[email protected]>
  • Loading branch information
GeunSam2 committed Dec 5, 2023
1 parent e94e6cc commit 4ce75e5
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/gh-page.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build Pages to gh-pages Branch
on:
push:
branches:
- main

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3

- name: Install and Build 🔧
run: |
npm install
npm run export && touch ./out/.nojekyll
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: out

0 comments on commit 4ce75e5

Please sign in to comment.