diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index cb168c6f..11c9ca84 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -1,7 +1,7 @@ name: Deploy preview on: - pull_request: null + pull_request_target: null jobs: deploy: @@ -25,7 +25,6 @@ jobs: - name: Deploy uses: JamesIves/github-pages-deploy-action@4.1.1 with: - token: ${{ secrets.PREVIEW_DEPLOY_TOKEN }} branch: preview-env folder: build target-folder: ${{ steps.generate_slug.outputs.slug }}