Skip to content

Commit

Permalink
Try
Browse files Browse the repository at this point in the history
  • Loading branch information
WhCollar committed Jan 3, 2024
1 parent 0f93e11 commit 20b58cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ jobs:
key: ${{ secrets.SSH_KEY }}
script: |
docker stop ${{ vars.DOCKER_CONTAINER_NAME }} 2> /dev/null || true
docker build -t ${{ vars.DOCKER_IMAGE_NAME }} -f ./${{ github.event.repository.name }}/${{ github.event.repository.name }}/Dockerfile ./${{ github.event.repository.name }}/
docker build -d -t ${{ vars.DOCKER_IMAGE_NAME }} -f ./${{ github.event.repository.name }}/${{ github.event.repository.name }}/Dockerfile ./${{ github.event.repository.name }}/
docker run --name ${{ vars.DOCKER_CONTAINER_NAME }} -v ./${{ github.event.repository.name }}/${{ github.event.repository.name }}/wwwroot/:/app/wwwroot/ -p 5374:80 ${{ vars.DOCKER_IMAGE_NAME }}

0 comments on commit 20b58cb

Please sign in to comment.