Skip to content

Update README.md

Update README.md #27

Workflow file for this run

name: deploy
on:
push:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: dockerrebuildandupdatethingo
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
script: |
echo "epik deployment script!!1!@2!"
docker stop pinpoint
docker rm pinpoint
echo "downtime :("
cd /root/beginner-2023summer-g4
git 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"