Skip to content

Commit

Permalink
dev also works
Browse files Browse the repository at this point in the history
  • Loading branch information
sdcb committed Feb 13, 2025
1 parent d8ab184 commit 728e059
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy-release-webhook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- main
- dev
paths:
- 'src/eng/ReleaseWebhook/**'
- '.github/workflows/deploy-release-webhook.yml'
Expand Down Expand Up @@ -46,7 +47,7 @@ jobs:
docker pull ${{ vars.DOCKER_REGISTRY }}/${{ vars.DOCKER_NAMESPACE }}/chats-release-webhook:r${{ github.run_number }}
cd chats-release-webhook
echo "Deploying non-feature branch: ${{ github.ref_name }}"
sed -i "s/^TAG=.*/TAG=r${{ github.run_number }}-linux-x64/" ~/chats-release-webhook/docker-compose.yml
echo "Deploying chats release webhook: ${{ github.ref_name }}"
sed -i "s/chats-release-webhook:r*/chats-release-webhook:r${{ github.run_number }}/" ~/chats-release-webhook/docker-compose.yml
docker compose up -d --remove-orphans
EOF

0 comments on commit 728e059

Please sign in to comment.