Skip to content

open-data/gcnotify-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Action Status
CRON Schedule Sync GC Notify Templates
Manual Dispatch Sync GC Notify Templates

GC Notify Templates

Python script to pull and version controll GC Notfiy template objects

Requirements

  • Python 3.6+

Installation

  1. Pull the repository: git clone https://github.com/open-data/gcnotify-templates.git
  2. Navigate to new repo: cd gcnotify-templates
  3. Create a python virtual environment: python3 -m venv ./venv
  4. Activate the venv: . venv/bin/activate
  5. Install the requirements into the venv: pip install -r requirements.txt
  6. Run the python script: python3 notify.py

GitHub Actions

The action is run at midnight and noon. It will build the python3 environment, and run the notify.py script.

This will fetch the templates from the GC Notify API and parse them into yaml files. It will commit any template changes, including deletions.

About

Python script to pull and version controll GC Notfiy template objects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages