From 92f4704854ffc5c7b7d5a9b53815ce6c3b20a33a Mon Sep 17 00:00:00 2001 From: 4gray Date: Mon, 3 Jan 2022 23:24:34 +0100 Subject: [PATCH] ci: update deploy pwa workflow --- .github/workflows/ci.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3d0d99ca0..f990b1146 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -36,13 +36,16 @@ jobs: - name: Checkout uses: actions/checkout@v2 + - name: Install and Build 🔧 + run: | + npm ci + npm run build-and-deploy-pwa + - name: Build and Deploy 🚀 uses: JamesIves/github-pages-deploy-action@4.1.7 - env: - ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} - BRANCH: gh-pages - FOLDER: dist - BUILD_SCRIPT: npm install && npm run-script build-and-deploy-pwa + with: + branch: gh-pages + folder: dist release: needs: [build-and-test] runs-on: ${{ matrix.os }}