feat: update vars
This commit is contained in:
@@ -58,7 +58,7 @@ jobs:
|
||||
|
||||
scp -i key.pem -o StrictHostKeyChecking=no \
|
||||
docker-compose.yml \
|
||||
bot@${{ secrets.SSH_HOST }}:/home/shared/iceberg/.../docker-compose.yml # [TO CHANGE]
|
||||
bot@${{ secrets.SSH_HOST }}:/home/shared/iceberg/chat/chat-website/docker-compose.yml
|
||||
- name: Execute remote deployment
|
||||
uses: appleboy/ssh-action@v1.0.3
|
||||
with:
|
||||
@@ -73,10 +73,10 @@ jobs:
|
||||
docker pull gitea.iceberg.black/$REPO_LOWER:$TAG
|
||||
docker logout gitea.iceberg.black
|
||||
|
||||
docker stop ... || true # [TO CHANGE]
|
||||
docker rm ... || true # [TO CHANGE]
|
||||
docker stop chat-website || true
|
||||
docker rm chat-website || true
|
||||
|
||||
cd /home/shared/iceberg/... # [TO CHANGE]
|
||||
cd /home/shared/iceberg/chat/chat-website
|
||||
REPO_LOWER=$REPO_LOWER TAG=$TAG docker compose up -d
|
||||
|
||||
docker image prune -af
|
||||
|
||||
Reference in New Issue
Block a user