fix: ci buildx
This commit is contained in:
@@ -29,13 +29,7 @@ jobs:
|
|||||||
- name: Sync Host Repo
|
- name: Sync Host Repo
|
||||||
working-directory: /data/www/lone-services
|
working-directory: /data/www/lone-services
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.ssh
|
export GIT_SSH_COMMAND="ssh -o BatchMode=yes -o ConnectTimeout=10 -o StrictHostKeyChecking=accept-new"
|
||||||
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 fetch origin develop
|
||||||
git pull origin develop
|
git pull origin develop
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user