Fixed path on preview env

This commit is contained in:
Alejandro Celaya 2021-08-29 11:31:33 +02:00
parent b94cdb2680
commit f41a8473f8

View file

@ -20,10 +20,10 @@ jobs:
- name: Build - name: Build
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/${GITHUB_HEAD_REF#refs/heads/} && \
rm src/service-worker.ts && \ rm src/service-worker.ts && \
npm run build npm run build
- name: Deploy preview - name: Deploy preview
uses: shlinkio/deploy-preview-action@v1.0.0 uses: shlinkio/deploy-preview-action@v1.0.1
with: with:
folder: build folder: build