Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ jobs:
username: ${{ env.AWS_USER }}
key: ${{ env.AWS_SSH_KEY }}
script: |
cd git-action-test/
sed -i 's|image:.*|image: '"${{ env.DOCKER_REPO }}:latest"'|' docker-compose.yaml
docker-compose down
docker-compose pull
docker-compose up -d
docker stop Block-Guard-AI || true
docker rm Block-Guard-AI || true

docker pull "${{ env.DOCKER_REPO }}:latest"
docker run -d --name "Block-Guard-AI" -p 8000:8000 ${{ env.DOCKER_REPO }}:latest
Loading