This commit is contained in:
parent
3a14049973
commit
cf4bd17d53
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/bash
|
||||
set -e
|
||||
|
||||
http_response=$(curl -s -L -o list.csv -w "%{http_code}" "https://docs.google.com/spreadsheets/d/e/2PACX-1vTXE8HCavThmJt1Wshy3GyF2ZJ-264SbNRVucsPUe2rbEgpm-e3tqsX-8K2mwsG4ozBj6qUyOOd4RMe/pub?gid=1832580214&single=true&output=csv")
|
||||
if [ $http_response != "200" ]; then
|
||||
@ -12,7 +13,7 @@ else
|
||||
git config user.email 'user2@localhost'
|
||||
git remote set-url origin https://x-access-token:$GITHUB_TOKEN@gitea.demb.uk/$GITHUB_REPOSITORY
|
||||
git diff "list.csv"
|
||||
git diff "list.csv" | python3 stdin2discord.py
|
||||
git diff "list.csv" | bash stdin2discord.bash
|
||||
git add "list.csv"
|
||||
git commit -m "commit"
|
||||
git push
|
||||
|
Loading…
x
Reference in New Issue
Block a user