Ensure review environment does not contain a service worker

This commit is contained in:
Alejandro Celaya 2021-06-06 19:06:24 +02:00
parent e193c700d6
commit ce02d29ca3

View file

@ -24,6 +24,7 @@ jobs:
run: | run: |
npm ci && \ npm ci && \
node ./scripts/set-homepage.js /shlink-web-client/${{ steps.generate_slug.outputs.slug }} && \ node ./scripts/set-homepage.js /shlink-web-client/${{ steps.generate_slug.outputs.slug }} && \
rm src/service-worker.ts && \
npm run build npm run build
- name: Deploy - name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.1 uses: JamesIves/github-pages-deploy-action@4.1.1