mirror of
https://git.ari.lt/ari.lt/ari.lt.git
synced 2025-02-04 17:49:24 +01:00
7f56e24b12
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
16 lines
256 B
Bash
Executable file
16 lines
256 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
set -e
|
|
|
|
main() {
|
|
printf '%s' 'Make sure you added an entry to api/usage.json'
|
|
read -r _
|
|
|
|
git diff >/tmp/ari-web.diff
|
|
|
|
git add -A
|
|
git commit -sa
|
|
git push -u origin "$(git rev-parse --abbrev-ref HEAD)"
|
|
}
|
|
|
|
main "$@"
|