You've already forked reloading-manager
add checkout step for release branch in CI build process
This commit is contained in:
@@ -146,6 +146,7 @@ jobs:
|
|||||||
git config --global push.autoSetupRemote true
|
git config --global push.autoSetupRemote true
|
||||||
git remote rm origin && git remote add origin "git@gitea.siteworxpro.com:siteworxpro/reloading-manager.git"
|
git remote rm origin && git remote add origin "git@gitea.siteworxpro.com:siteworxpro/reloading-manager.git"
|
||||||
git add -f "argocd/deployment/*" || true
|
git add -f "argocd/deployment/*" || true
|
||||||
|
git checkout -b release/${{ gitea.ref_name }}-deploy || git checkout release/${{ gitea.ref_name }}-deploy
|
||||||
git commit -m "Build Auto Commit" || echo "No changes to commit"
|
git commit -m "Build Auto Commit" || echo "No changes to commit"
|
||||||
git push origin HEAD:${{ gitea.ref_name }} -o ci.skip || echo "No changes to push"
|
git push origin HEAD:${{ gitea.ref_name }} -o ci.skip || echo "No changes to push"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user