We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbbad9c commit 9cfcd5cCopy full SHA for 9cfcd5c
entrypoint.sh
@@ -8,6 +8,8 @@ echo "${GIT_DEPLOY_KEY}" > /root/.ssh/id_rsa && \
8
chmod 400 /root/.ssh/id_rsa
9
10
echo '=================== Sync with mirror git ==================='
11
+git config --global --add safe.directory /github/workspace
12
+
13
git version
14
git fetch --unshallow origin
15
git checkout master
@@ -20,4 +22,3 @@ git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
20
22
echo 'ready to push'
21
23
git push backup master -f
24
git remote remove backup
-
0 commit comments