-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8bf7f9d
commit bc0db86
Showing
1 changed file
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
name: Sync with S3 | ||
|
||
on: | ||
workflow_dispatch: #Can manually trigger | ||
workflow_dispatch: | ||
pull_request_target: | ||
types: [ closed ] #Runs on PR merge | ||
types: [ closed ] | ||
branches: [ main ] | ||
push: | ||
branches: [ main ] | ||
|
||
jobs: | ||
sync: | ||
#PR merged with main #Manually triggered workflow | ||
if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch' | ||
if: | | ||
github.event_name == 'workflow_dispatch' || | ||
github.event.pull_request.merged == true || | ||
github.event_name == 'push' | ||
uses: hellocoop/tools/.github/workflows/content-sync.yml@main | ||
# GitHub-Slack app sends a workflow status message with live updates to #content-updates channel | ||
with: | ||
STACK: GreenfieldStack #make sure this is the right stack value #TBD: use env | ||
STACK: GreenfieldStack #make sure this is the right stack value |