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
run: |
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 && \
npm run build
- name: Deploy preview
uses: shlinkio/deploy-preview-action@v1.0.0
uses: shlinkio/deploy-preview-action@v1.0.1
with:
folder: build