This project maintains a local copy of a remote JavaScript asset.
Periodically checks for updates to an external script and syncs the latest version into this repository, ensuring the file remains current without manual intervention.
- A CI job runs on the
mainbranch. - It fetches a remote JavaScript file.
- If the file content has changed:
- It commits the updated file.
- Pushes the commit to the repository.
- A GitLab Shell Runner.
- Two protected CI/CD variables:
GITLAB_USER— GitLab username or bot account.GITLAB_TOKEN— Personal or project access token withwrite_repositoryscope.
scout.js: The auto-updated script.