mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-08 14:43:24 +00:00
ci: change app path and add secret env port
This commit is contained in:
3
.github/workflows/CD.yml
vendored
3
.github/workflows/CD.yml
vendored
@@ -43,9 +43,10 @@ jobs:
|
||||
uses: appleboy/ssh-action@master
|
||||
with:
|
||||
host: ${{ secrets.SSH_HOST }}
|
||||
port: ${{ secrets.SSH_PORT }}
|
||||
username: ${{ secrets.SSH_USERNAME }}
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
script: |
|
||||
cd /docker/my-links/app
|
||||
cd ~/my-links
|
||||
docker pull docker.io/sonny93/my-links:latest
|
||||
docker compose up -d --force-recreate
|
||||
|
||||
Reference in New Issue
Block a user