Skip to content

Commit

Permalink
Add thumbnails production deployment (#2493)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarayourfriend authored Jun 28, 2023
1 parent 1d6404b commit 92f32b6
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/release-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,3 +179,25 @@ jobs:
# timeouts appropriately configured and will all fail before 30
# minutes is reached. On the other hand, we do want to wait
# so that there is a record of the successful deployment.

- name: Deploy production thumbnails
if: inputs.app == 'api'
uses: felixp8/[email protected]
with:
owner: WordPress
repo: openverse-infrastructure
token: ${{ secrets.ACCESS_TOKEN }}
event_type: deploy_production_api_thumbnails
client_payload: |
{
"actor": "${{ github.actor }}",
"tag": "${{ steps.tag.outputs.image-tag }}"
}
wait_time: 60 # check every minute
max_time: 1800 # allow up to 30 minutes for a deployment
# max_time can't easily be configured per application
# without duplicating information between our infrastructure
# and this workflow. The upstream workflows already have
# timeouts appropriately configured and will all fail before 30
# minutes is reached. On the other hand, we do want to wait
# so that there is a record of the successful deployment.

0 comments on commit 92f32b6

Please sign in to comment.