This commit is contained in:
@@ -18,8 +18,11 @@ jobs:
|
||||
port: 22
|
||||
script: |
|
||||
export PATH=$PATH:/usr/local/bin:/opt/homebrew/bin:$HOME/.docker/bin
|
||||
cd ${{ secrets.DEPLOY_PATH }}
|
||||
git pull origin main
|
||||
cd /tmp
|
||||
rm -rf a301-game-server
|
||||
git clone https://${{ secrets.GIT_USER }}:${{ secrets.GIT_TOKEN }}@${{ secrets.GIT_HOST }}/A301/a301_game_server.git a301-game-server
|
||||
cd a301-game-server
|
||||
docker compose down
|
||||
docker compose up -d --build
|
||||
docker compose logs --tail=20 server
|
||||
rm -rf /tmp/a301-game-server
|
||||
|
||||
Reference in New Issue
Block a user