Skip to content

Commit

Permalink
add support for the second prod deployment schema
Browse files Browse the repository at this point in the history
  • Loading branch information
solarw committed Feb 9, 2024
1 parent efcef30 commit 2c206cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 68 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
docker push $DOCKER_USER/oar-$AGENT:$DEFAULT_IMAGE_TAG
deploy-service-on-propel:
name: Deploy service on propel
environment: ${{ github.event.action == 'released' && 'production' || 'staging' }}
environment: ${{ fromJSON('[["staging", "staging"], ["production", "shorts_production"]]')[github.event.action == 'released'][endsWith(github.event.release.name, '(shorts)')] }}
needs:
- "publish-packages"
- "publish-images"
Expand Down
67 changes: 0 additions & 67 deletions .github/workflows/test_release.yaml

This file was deleted.

0 comments on commit 2c206cb

Please sign in to comment.