Skip to content

Commit

Permalink
Update readme/comments about the CI token
Browse files Browse the repository at this point in the history
  • Loading branch information
Alwinfy authored and psvenk committed Nov 30, 2024
1 parent a260a16 commit bdac9b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The server's frontend updates based on the `deploy` branch on GitHub, so any cha

4. The script unpacks the files to the production directory `~/web_scripts/hydrant`.

Note that the GitHub token in `ci_secrets` must be regenerated yearly.
Note that the GitHub token in `ci_secrets` must be [regenerated](https://github.com/settings/personal-access-tokens/) if it's ever invalidated.

## Backend

Expand Down
2 changes: 1 addition & 1 deletion deploy/web_scripts/notify_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def main():
# Secret, used for HMAC input validation (so we know GitHub is being real)
with open(HASH_SECRET) as fh:
secret = fh.read().strip().encode("utf-8")
# API token for GitHub API requests (to get a path to the file)-- needs yearly updating!
# API token for GitHub API requests (to get a path to the file).
with open(GITHUB_TOKEN) as fh:
token = fh.read().strip()

Expand Down

0 comments on commit bdac9b1

Please sign in to comment.