修改 workflow

This commit is contained in:
whyour 2022-11-17 11:37:45 +08:00
parent 851408860e
commit df3e209534

View File

@ -80,8 +80,8 @@ jobs:
export GIT_SSH_COMMAND="ssh -v -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no -l git"
git remote add gitee "${REPO_GITEE}"
git remote add gitlab "${REPO_GITLAB}"
git push --tags --force --prune gitee "refs/remotes/origin/*:refs/heads/*"
git push --tags --force --prune gitlab "refs/remotes/origin/*:refs/heads/*"
git push --force --quiet gitee ${GITHUB_BRANCH}:${GITHUB_BRANCH}
git push --force --quiet gitlab ${GITHUB_BRANCH}:${GITHUB_BRANCH}
build:
needs: build-static