Skip to content

madfish-solutions/ads-api-data-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ads-api-data-sync

This repository stores the versioned ads API JSON data and automatically syncs it to the correct DigitalOcean Spaces path for staging and production.

src/ is the single source of truth for ads API data.

Branches

  • development syncs src/ to ads-api-data/staging/ in the stage bucket
  • main syncs src/ to ads-api-data/production/ in the prod bucket

GitHub Actions

  • push_on_stage.yml runs on pushes to development
  • push_on_prod.yml runs on pushes to main

Sync behavior

The workflows run:

aws s3 sync ./src/ s3://<bucket>/ads-api-data/<environment>/ --delete

The sync excludes .DS_Store files and removes remote files that no longer exist in src/.

About

This repository stores the versioned ads API JSON data and automatically syncs it to the correct DigitalOcean Spaces path.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors