From fb9dd85f0ca52219760b9cb177e02bb0e98db2d3 Mon Sep 17 00:00:00 2001 From: Koh Wei Jie Date: Thu, 3 Aug 2023 16:59:18 +0800 Subject: [PATCH] tweaked workflow --- .github/workflows/publish.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 91e5b94..2d13133 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,8 +22,11 @@ jobs: with: node-version: ${{ matrix.node-version }} + - name: npm install + run: cd web && npm install + - name: Build - run: cd web && npm install && npx parcel index.html + run: cd web && npx parcel build index.html - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3