feat: push to gitea script
This commit is contained in:
parent
7ede88c0d7
commit
519af7bf25
|
|
@ -1,11 +1,11 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
cd ../
|
cp -r core repo
|
||||||
cp -r * core/
|
cd repo
|
||||||
cd core
|
git init -b main
|
||||||
git init
|
|
||||||
|
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Update files to the repo"
|
git commit -m "Update files to the repo"
|
||||||
git remote add origin https://vogsphere.chatons.duckdns.org/marvin/core.git
|
git remote add origin https://vogsphere.chatons.duckdns.org/marvin/core.git
|
||||||
git push -u origin main
|
git push -u origin main --force
|
||||||
|
rm -rf ../repo
|
||||||
Loading…
Reference in a new issue