Files
automata/apps/api/scripts/updateDocs/pushCommunityBot.sh
SrIzan10 3fa8932cbf fix: github pushing (#14)
* some progress

* feat: ssh commiting done

* remove submodules

* Merge branch 'main' into fix/pushing

* remove dockerfile
2024-03-26 22:05:12 +01:00

7 lines
281 B
Bash

GITHUBTOKEN=$(echo $NT_ARGS | jq ".githubToken")
EMAIL=$(echo $NT_ARGS | jq ".email")
git add .
git -c user.name="sern bot" -c user.email="$EMAIL" commit -m "chore: update api documentation"
git remote set-url origin git@github.com:sern-handler/sern-community.git
git push --force