Skip to content

Commit

Permalink
Fix path to dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
WhCollar committed Jan 3, 2024
1 parent e5a7fbd commit b49e24d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_KEY }}
script: |
cd ${{ env.DOCKER_IMAGE_NAME }}
docker stop ${{ env.DOCKER_IMAGE_NAME }} 2> /dev/null || true
docker build ./${{ github.event.repository.name }}/ -t ${{ env.DOCKER_IMAGE_NAME }}
docker build ./${{ github.event.repository.name }}/${{ github.event.repository.name }} -t ${{ env.DOCKER_IMAGE_NAME }}
docker run --name ${{ env.DOCKER_IMAGE_NAME }} -p 5374:80 ${{ env.DOCKER_IMAGE_NAME }}

0 comments on commit b49e24d

Please sign in to comment.