Update deployment (#58)

* Update ci_cd.yml

Remove deployment scripts, moved to authorized_keys instead.

* Update docker-compose.prod.yml to always restart
This commit is contained in:
Lin, Hung-Shin authored and GitHub committed 2023-11-05 23:27:50 +08:00
1 parent 4c2f3f5397
commit 10e9d89349
2 files changed
+3 -5

No files matched your search

-4
View File
@@ -119,7 +119,3 @@ jobs:
port: ${{ secrets.SERVER_PORT }}
username: ${{ secrets.SERVER_USER }}
key: ${{ secrets.SERVER_SSH_KEY }}
script: |
cd ${{ secrets.SERVER_PATH }}
docker compose -f docker-compose.prod.yml pull
docker compose -f docker-compose.prod.yml up -d