This commit is contained in:
sijinhui 2024-01-16 11:25:22 +08:00
parent 9f4e4aa4d9
commit 2dfebfdae5

View File

@ -67,6 +67,10 @@ jobs:
rm -rf /www/server/nginx/proxy_temp_dir/*
sleep 2
tccli cdn PurgePathCache --cli-unfold-argument --Paths 'https://chat.xiaosi.cc/' --FlushType delete
- name: Sync repository to tx
run: |
yes | docker image prune
rsync -az -e 'ssh -o StrictHostKeyChecking=no' --delete $GITHUB_WORKSPACE/ root@tx.xiaosi.cc:/data/ChatGPT-Next-Web
- name: deploy-to-tx
uses: appleboy/ssh-action@master
env: