Skip to content

Commit

Permalink
Merge pull request #31 from SWD392-Domus/cd
Browse files Browse the repository at this point in the history
CD
  • Loading branch information
HaiHungNguyenn authored Feb 3, 2024
2 parents 15ff9f8 + 15a4e10 commit a80eb9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish-images.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish docker images
name: Publish docker images and Deploy to Azure

on:
push:
Expand Down Expand Up @@ -68,5 +68,5 @@ jobs:
${{ secrets.AZURE_VM_USERNAME }}@${{ secrets.AZURE_VM_IP_ADDRESS }} \
'docker ps -q | xargs -r docker stop &&
docker container prune -f &&
docker pull ghcr.io/swd392-domus/domus-api:${{ needs.publish.outputs.version }} &&
docker run -d -p 443:80 ghcr.io/swd392-domus/domus-api:${{ needs.publish.outputs.version }}'
docker pull &{{ env.IMAGE_NAME}}:${{ needs.publish.outputs.version }} &&
docker run -d -p 443:80 ${{ env.IMAGE_NAME }}:${{ needs.publish.outputs.version }}'
Binary file modified Domus.Api/appsettings.Production.json.gpg
Binary file not shown.

0 comments on commit a80eb9a

Please sign in to comment.