fix: chore dockerfile

This commit is contained in:
zzw
2026-08-25 11:40:40 +08:00
parent c8a239ef66
commit 78b0ee4d9d
2 changed files with 46 additions and 0 deletions
+7
View File
@@ -29,6 +29,13 @@ jobs:
- name: Sync Host Repo
working-directory: /data/www/lone-services
run: |
mkdir -p ~/.ssh
chmod 700 ~/.ssh
touch ~/.ssh/known_hosts
chmod 600 ~/.ssh/known_hosts
if ! grep -q 'git.ailuowan.com' ~/.ssh/known_hosts; then
ssh-keyscan -t ed25519 git.ailuowan.com >> ~/.ssh/known_hosts
fi
git fetch origin develop
git pull origin develop