sitoctt/Scripts/Deploy.Gemini.sh

16 lines
384 B
Bash
Raw Permalink Normal View History

2022-07-01 17:53:36 +02:00
#!/bin/sh
2022-07-01 18:07:03 +02:00
git config --global user.email "$GitUserEmail"
git config --global user.name "$GitUserName"
git config --global credential.helper store
2022-07-01 18:08:00 +02:00
echo "https://$GitUserName:$GitPassword@gitlab.com" > ~/.git-credentials
2022-07-01 18:07:03 +02:00
2022-07-01 17:53:36 +02:00
git clone --depth 1 https://gitlab.com/octtspacc/octt.gmi
cd octt.gmi
2022-07-01 18:17:03 +02:00
rm -rf ./sitoctt
2022-07-01 17:53:36 +02:00
mv ../public.gmi ./sitoctt
git add .
git commit -m "Agg. $(date)"
git push