From 4ce75e5414e4a1de32f55ec21979bb57ca315875 Mon Sep 17 00:00:00 2001 From: GeunSam2 Date: Tue, 5 Dec 2023 22:36:34 +0900 Subject: [PATCH] ci: add gh-page deploy Signed-off-by: GeunSam2 --- .github/workflows/gh-page.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/gh-page.yml diff --git a/.github/workflows/gh-page.yml b/.github/workflows/gh-page.yml new file mode 100644 index 0000000..f0b0c43 --- /dev/null +++ b/.github/workflows/gh-page.yml @@ -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 \ No newline at end of file