From dd70cfae4f00d5130a6ddf714853bebf8a40f932 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Thu, 27 Jan 2022 14:43:52 +0200 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d4816e5..4ea5b97 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,10 +23,10 @@ jobs: with: node-version: ${{ matrix.node-version }} - - name: Build assets + - name: Build production assets run: | npm install - npm run build --if-present + npm run prod --if-present - name: Store artifacts uses: actions/upload-artifact@v2 @@ -35,8 +35,6 @@ jobs: path: dist - name: Build GitHub Pages - # You may pin to the exact commit or the version. - # uses: crazy-max/ghaction-github-pages@a117e4aa1fb4854d021546d2abdfac95be568a3a uses: crazy-max/ghaction-github-pages@v2.6.0 with: build_dir: dist