This commit is contained in:
@@ -31,3 +31,12 @@ jobs:
|
||||
git fetch origin &&
|
||||
git reset --hard origin/master
|
||||
"
|
||||
|
||||
- name: Restart docker container
|
||||
run: |
|
||||
# Pull latest on server
|
||||
ssh ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_SERVER }} "
|
||||
cd ${{ secrets.DEPLOY_PATH }} &&
|
||||
docker compose down &&
|
||||
docker compose up --build -d
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user