diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2d81c0676..25302d06e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -38,6 +38,8 @@ jobs: - name: Build run: yarn build + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Archive build output run: 'tar --dereference --directory public/ -cvf artifact.tar .' diff --git a/.github/workflows/deploy_preview.yml b/.github/workflows/deploy_preview.yml index 2f7d95d75..d12da21f5 100644 --- a/.github/workflows/deploy_preview.yml +++ b/.github/workflows/deploy_preview.yml @@ -36,6 +36,8 @@ jobs: - name: Build run: yarn build:preview + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Archive build output run: 'tar --dereference --directory public/ -cvf artifact.tar .'