Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
torry2 authored Feb 10, 2024
1 parent 5a96858 commit 96469b6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 96469b6

Please sign in to comment.