Skip to content

Synapsecom/opjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Automated Remote File Sync

This project maintains a local copy of a remote JavaScript asset.

Purpose

Periodically checks for updates to an external script and syncs the latest version into this repository, ensuring the file remains current without manual intervention.

How It Works

  • A CI job runs on the main branch.
  • It fetches a remote JavaScript file.
  • If the file content has changed:
    • It commits the updated file.
    • Pushes the commit to the repository.

CI/CD Requirements

  • A GitLab Shell Runner.
  • Two protected CI/CD variables:
    • GITLAB_USER — GitLab username or bot account.
    • GITLAB_TOKEN — Personal or project access token with write_repository scope.

File Synced

  • op1.js: The auto-updated script.

License

GNU Affero General Public License v3.0

About

Analytics Javascript code for browsers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published