Changed token used for preview deployment

This commit is contained in:
Alejandro Celaya 2021-05-09 14:25:10 +02:00
parent 54b7aeed20
commit 4e3d311bef

View file

@ -25,7 +25,7 @@ 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.GITHUB_TOKEN }} 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 }}