Update sync_to_git_single.yml

This commit is contained in:
lan-tianxiang
2021-03-28 09:11:58 +08:00
committed by GitHub
parent caec1b834f
commit 7ae5401e68

View File

@ -27,6 +27,7 @@ jobs:
- name: Clone Master
run: |
git clone -b master git@github.com:lan-tianxiang/clone_scripts.git master
git clone --bare git@10.0.30.63:git-test.git
- name: Prepare Key
run: |
mkdir -p ~/.ssh
@ -38,8 +39,9 @@ jobs:
cd master
perl -i -pe "s|url = git@github.com:lan-tianxiang/clone_scripts.git|url = git@gitee.com:highdimen/clone_scripts.git|g" .git/config
cat .git/config
echo $(date) > time
git add .
git commit -m "a"
git commit -m "update"
git push -f
- name: Delete Workflow Runs
uses: Mattraks/delete-workflow-runs@main