mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-05-26 23:26:24 +00:00
Changed event for preview deployments to use pull_request_target
This commit is contained in:
3
.github/workflows/deploy-preview.yml
vendored
3
.github/workflows/deploy-preview.yml
vendored
@@ -1,7 +1,7 @@
|
|||||||
name: Deploy preview
|
name: Deploy preview
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request: null
|
pull_request_target: null
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
@@ -25,7 +25,6 @@ jobs:
|
|||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: JamesIves/github-pages-deploy-action@4.1.1
|
uses: JamesIves/github-pages-deploy-action@4.1.1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.PREVIEW_DEPLOY_TOKEN }}
|
|
||||||
branch: preview-env
|
branch: preview-env
|
||||||
folder: build
|
folder: build
|
||||||
target-folder: ${{ steps.generate_slug.outputs.slug }}
|
target-folder: ${{ steps.generate_slug.outputs.slug }}
|
||||||
|
|||||||
Reference in New Issue
Block a user