Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ Usage (in workflow)

- The workflow should call:

node .github/scripts/wait-netlify.js
node .github/scripts/wait-netlify-runner.js

Local debugging

Export the required env vars and run locally. For PR-like behavior export `PR_BRANCH` and `COMMIT_ID`:

```bash
NETLIFY_AUTH_TOKEN=xxx NETLIFY_SITE_ID=yyy PR_BRANCH=feature/abc COMMIT_ID=abcd1234 GITHUB_ENV=/tmp/env node .github/scripts/wait-netlify.js
NETLIFY_AUTH_TOKEN=xxx NETLIFY_SITE_ID=yyy PR_BRANCH=feature/abc COMMIT_ID=abcd1234 GITHUB_ENV=/tmp/env node .github/scripts/wait-netlify-runner.js
```

Security notes
Expand Down