GitLab doesn’t support unexpiring tokens anymore. Every now and then, you’ll need to create a new token. It’s a reminder of the fun to update such a token.
-
Create a new token PAT in GitLab: https://gitlab.com/nfrankel/nfrankel.gitlab.io/-/settings/access_tokens
-
Name it something relevant, e.g., GitHub Profile access
-
Give it at least
read_repository
scope -
Connect to the Raspberry Pi
-
Update the
BLOG_REPO_TOKEN
value in/opt/github-actions-runner/nfrankel-update/.env
-
Restart the service:
-
sudo ./svc.sh stop
-
sudo ./svc.sh start
-