Open jaylenw opened 3 years ago
Need to add restriction to repository_dispatch to differentiate between dev and prod workflow run. https://docs.github.com/en/actions/reference/events-that-trigger-workflows#repository_dispatch
Noting that since repository_dispatch triggers pipelines in the default branch, pipelines will need to be located solely in the development (default) branch. Pipelines in the prod branch should be ignored.
Problem
The GitHub Actions Workflows in this repository needs to accept the trigger from the the workflows in the data starter repository.
Background info
Please refer to https://github.com/CityOfLosAngeles/open-sdg-data-starter/issues/12 for additional info.
Solution
Refer to the link that Timothy mentioned about having workflows triggering another one. We want the site to be rebuilt and deployed for the same environment where new data was pushed to in the data starter repository.