This commit is contained in:
Root THC
2024-08-25 09:41:56 +01:00
parent 4b2c8f2f32
commit 654a7d9e9f
2 changed files with 19 additions and 14 deletions
+1 -2
View File
@@ -26,10 +26,9 @@ jobs:
git clone -b gh-pages --single-branch git@github.com:hackerschoice/hackerschoice.github.io.git
cd hackerschoice.github.io
cmp -s /tmp/whatserver.sh ws || { cat /tmp/whatserver.sh >ws; is_updated=1; }
#cmp -s /tmp/hackshell.sh ws || { cat /tmp/hackshell.sh >hs; is_updated=1; }
[ -n $is_updated ] && {
git config --local user.name "GitHub Action"
git config --local user.email "root@proton.thc.org"
git add ws hs && git commit -m "whatserver" && git push
git add ws && git commit -m "whatserver" && git push
}