Added github token to preview env deployment

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

View file

@ -25,6 +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 }}
branch: preview-env branch: preview-env
folder: build folder: build
target-folder: ${{ steps.generate_slug.outputs.slug }} target-folder: ${{ steps.generate_slug.outputs.slug }}