mirror of
https://github.com/luzifer-aur/scripts.git
synced 2024-12-30 00:31:17 +00:00
Add gitea pushing as soft-migration
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
cfecce76db
commit
cdbe10e266
1 changed files with 5 additions and 3 deletions
|
@ -26,7 +26,8 @@ git config user.email "jenkins@luzifer.io"
|
||||||
git config user.name "Luzifer.io Jenkins"
|
git config user.name "Luzifer.io Jenkins"
|
||||||
|
|
||||||
# Add Repo as remote
|
# Add Repo as remote
|
||||||
git remote add origin "git@github.com:luzifer-arch/${PKG}.git"
|
git remote add origin "https://luzifer:${GITEA_TOKEN}@git.luzifer.io/luzifer-arch/${PKG}.git"
|
||||||
|
git remote add github "git@github.com:luzifer-arch/${PKG}.git"
|
||||||
|
|
||||||
# Get latest state of remote
|
# Get latest state of remote
|
||||||
git fetch --all --tags
|
git fetch --all --tags
|
||||||
|
@ -61,5 +62,6 @@ docker run --rm -i \
|
||||||
--ulimit nofile=262144:262144 \
|
--ulimit nofile=262144:262144 \
|
||||||
luzifer/arch-repo-builder:latest
|
luzifer/arch-repo-builder:latest
|
||||||
|
|
||||||
# Push changes including tags to fork
|
# Push changes to gitea and if that's blocked to github
|
||||||
git push origin master
|
git push origin master ||
|
||||||
|
git push github master
|
||||||
|
|
Loading…
Reference in a new issue