diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2cb823f..75ff428 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -43,6 +43,9 @@ jobs: key: node-v${{ matrix.node-version }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/yarn.lock')) }} - name: Install Dependencies run: yarn install --frozen-lockfile + + - name: Replace package.json content + run: sed -i -e 's/--mode dev/--mode production/g' package.json - name: Build run: yarn build && echo "dw.cysec-lab.org" > dist/CNAME