try and fix ci
This commit is contained in:
@@ -80,18 +80,20 @@ jobs:
|
||||
- name: Push Docker image
|
||||
run: docker push git.rivercry.com/wg/monitor-im-flur
|
||||
- name: Deploy via SSH
|
||||
uses: appleboy/ssh-action@v0.1.10
|
||||
uses: appleboy/ssh-action@v1.0.3
|
||||
with:
|
||||
host: rivercry.com
|
||||
port: 20022
|
||||
username: docker
|
||||
password: ${{ secrets.GARRISON_DOCKER_PASSWORD }}
|
||||
script: |
|
||||
cd monitor-im-flur
|
||||
set -e
|
||||
cd monitor-im-flur || exit 1
|
||||
git clean -dfx
|
||||
git reset --hard HEAD
|
||||
git pull
|
||||
docker-compose pull
|
||||
docker-compose down
|
||||
docker-compose up -d
|
||||
docker compose pull
|
||||
docker compose down --remove-orphans || true
|
||||
docker compose up -d
|
||||
docker image prune -f
|
||||
|
||||
|
||||
Reference in New Issue
Block a user