Skip to content

Commit

Permalink
chore(ci): Uncomment workflow prod deploy step. (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
fergmac authored Nov 28, 2024
1 parent a0a9f72 commit cdf493c
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,27 +43,27 @@ jobs:
tag: ${{ needs.init.outputs.pr }}
target: test

# deploys-prod:
# name: Deploy (prod)
# needs: [init, deploys-test]
# secrets: inherit
# uses: ./.github/workflows/.deploy.yml
# with:
# environment: prod
# tag: ${{ needs.init.outputs.pr }}
# target: prod
deploys-prod:
name: Deploy (prod)
needs: [init, deploys-test]
secrets: inherit
uses: ./.github/workflows/.deploy.yml
with:
environment: prod
tag: ${{ needs.init.outputs.pr }}
target: prod

# promote:
# name: Promote Images
# needs: [init, deploys-prod]
# runs-on: ubuntu-latest
# strategy:
# matrix:
# package: [minio, database, backend, frontend]
# steps:
# - uses: shrink/actions-docker-registry-tag@v4
# with:
# registry: ghcr.io
# repository: ${{ github.repository }}/${{ matrix.package }}
# target: ${{ needs.vars.outputs.pr }}
# tags: prod
promote:
name: Promote Images
needs: [init, deploys-prod]
runs-on: ubuntu-latest
strategy:
matrix:
package: [minio, database, backend, frontend]
steps:
- uses: shrink/actions-docker-registry-tag@v4
with:
registry: ghcr.io
repository: ${{ github.repository }}/${{ matrix.package }}
target: ${{ needs.vars.outputs.pr }}
tags: prod

0 comments on commit cdf493c

Please sign in to comment.