Skip to content

Commit

Permalink
fix: add back required GITHUB_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
ze-flo committed Jun 28, 2024
1 parent 8c82cc2 commit 09a4dbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jobs:
- run: utils/scripts/deploy-preview.mjs
env:
NETLIFY_TOKEN: ${{ secrets.NETLIFY_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}

deploy-gh-pages:
Expand Down
1 change: 1 addition & 0 deletions utils/scripts/deploy-preview.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import { dirname, resolve } from 'path';
import { fileURLToPath } from 'url';

envalid.cleanEnv(process.env, {
GITHUB_TOKEN: envalid.str(),
NETLIFY_SITE_ID: envalid.str(),
NETLIFY_TOKEN: envalid.str()
});
Expand Down

0 comments on commit 09a4dbf

Please sign in to comment.