From 27e394e4433b7739d0efea4831ed9891f7593b02 Mon Sep 17 00:00:00 2001 From: Koh Wei Jie Date: Thu, 3 Aug 2023 16:27:45 +0800 Subject: [PATCH] tweaked workflow --- .github/workflows/publish.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f6235b0..caca10c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,4 @@ -name: NodeJS with Gulp +name: NodeJS with Parcel on: push: @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: [14.x, 16.x, 18.x] + node-version: 18.x steps: - uses: actions/checkout@v3 @@ -27,3 +27,9 @@ jobs: cd web npm install npx parcel index.html + + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./web/dist/