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 96469b6 commit e896b67
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ jobs:
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
script: |
echo "this is terrible"
docker stop pinpoint ; docker rm pinpoint
echo "epik deployment script!!1!@2!"
docker stop pinpoint
docker rm pinpoint
echo "downtime :("
git -C /root/beginner-2023summer-g4 pull origin main
echo "updated!!!!!!"
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
echo "rebuilt +done"

0 comments on commit e896b67

Please sign in to comment.