CityOfLosAngeles / open-sdg-data-starter

A starting point for the data repository of an Open SDG platform implementation.
MIT License
1 stars 6 forks source link

ci(runner): Check Invalidation Complete before Triggering Site Workflow #15

Closed tmargono closed 3 years ago

tmargono commented 3 years ago

What does this MR do?

Background info

Script used is a modified, simplified version of https://github.com/swoodford/aws/blob/master/cloudfront-invalidation-status.sh.

IAM policy for user was modified to include the permissions cloudfront:ListInvalidations , cloudfront:GetInvalidation necessary for the script.

How can this be tested (manually and/or automated test)?

Tested successfully. https://github.com/CityOfLosAngeles/open-sdg-data-starter/actions/runs/677188608

Which issue(s) is/are related to this PR?

This PR is/are related to issue(s) issue #14

close #14