ci(action): update deploy action
This commit is contained in:
@@ -13,10 +13,11 @@ jobs:
|
|||||||
- uses: appleboy/ssh-action@v1
|
- uses: appleboy/ssh-action@v1
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.DEPLOY_HOST }}
|
host: ${{ secrets.DEPLOY_HOST }}
|
||||||
|
port: ${{ secrets.DEPLOY_PORT }}
|
||||||
username: ${{ secrets.DEPLOY_USERNAME }}
|
username: ${{ secrets.DEPLOY_USERNAME }}
|
||||||
key: ${{ secrets.DEPLOY_KEY }}
|
key: ${{ secrets.DEPLOY_KEY }}
|
||||||
passphrase: ${{ secrets.DEPLOY_PASSPHRASE }}
|
passphrase: ${{ secrets.DEPLOY_PASSPHRASE }}
|
||||||
script: |
|
script: |
|
||||||
cd /opt/gallery
|
cd /opt/gallery
|
||||||
docker compose pull
|
docker-compose pull
|
||||||
docker compose up -d
|
docker-compose up -d
|
||||||
|
|||||||
Reference in New Issue
Block a user