Skip to content

Commit

Permalink
tweaked workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
weijiekoh committed Aug 3, 2023
1 parent 1beb000 commit c41e97e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: NodeJS with Gulp
name: NodeJS with Parcel

on:
push:
Expand All @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [18.x]

steps:
- uses: actions/checkout@v3
Expand All @@ -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/

0 comments on commit c41e97e

Please sign in to comment.