Skip to content

Commit

Permalink
fix deploy comand
Browse files Browse the repository at this point in the history
  • Loading branch information
eufelipemateus committed May 2, 2024
1 parent 303f1b3 commit c9a17cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ jobs:
script: |
cd ${{secrets.WORK_DIR}}
sudo docker login -u "adminuser" -p "${{secrets.DOCKER_TOKEN}}" docker.felipemateus.com
sudo docker rm $(docker stop $(docker ps -a -q --filter ancestor=${{ github.event.repository.name }} --format="{{.ID}}")) -f
sudo docker rm $(docker stop $(docker ps -aqf "name=${{ github.event.repository.name }}")) -f
sudo docker run --restart=always --network=host -dp 127.0.0.1:8000:8000 --name ${{ github.event.repository.name }} ${{ github.repository_owner }}/${{ github.event.repository.name }}:test

0 comments on commit c9a17cd

Please sign in to comment.