13 lines
468 B
Bash
Executable File
13 lines
468 B
Bash
Executable File
#!/usr/bin/bash
|
|
|
|
cd ~/CEC_monitoring || { exit 1; echo "changing directory failed"; exit 1; }
|
|
|
|
curl -L -o "list.csv" -s "https://docs.google.com/spreadsheets/d/e/2PACX-1vTXE8HCavThmJt1Wshy3GyF2ZJ-264SbNRVucsPUe2rbEgpm-e3tqsX-8K2mwsG4ozBj6qUyOOd4RMe/pub?gid=1832580214&single=true&output=csv" || { echo "downloading failed"; exit 1; }
|
|
|
|
git diff "list.csv"
|
|
git add "list.csv"
|
|
git commit -m "commit" | grep -vE 'On branch master|nothing to commit, working tree clean'
|
|
|
|
|
|
|