Skip to content

Commit

Permalink
ci: publish teams app on prod
Browse files Browse the repository at this point in the history
  • Loading branch information
yuqu committed Mar 25, 2024
1 parent 8088ab3 commit f00500c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/docker-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@ on:
- main
types:
- completed
release:
types:
- published

name: Build and Push to ECR

jobs:
build-and-push:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event.action == 'published' }}
name: Build and Push
environment: ${{ startsWith(github.ref, 'refs/tags/') && 'prod' || 'dev' }}
runs-on: ubuntu-latest
Expand Down

0 comments on commit f00500c

Please sign in to comment.