diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4f15b78..6a4e064 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,9 +18,7 @@ jobs: port: ${{ secrets.PORT }} script: | echo "this is terrible" - docker stop pinpoint - docker rm pinpoint - cd /root/beginner-2023summer-g4 - git pull origin main + docker stop pinpoint ; docker rm pinpoint + git -C /root/beginner-2023summer-g4 pull origin main docker build -t perthpinpoint . docker run --mount type=bind,source="$(pwd)/app/core",target=/pinpoint/app/core -dp 0.0.0.0:80:8080 --name "pinpoint" perthpinpoint