mirror of
https://github.com/CPunch/openpunk-ansible.git
synced 2024-11-21 23:10:05 +00:00
minor typos
This commit is contained in:
parent
af53eb4637
commit
bf198f9d63
@ -19,7 +19,7 @@ if [ $LOCAL = $REMOTE ]; then
|
|||||||
# to check for changes (changed_when)
|
# to check for changes (changed_when)
|
||||||
echo "up to date"
|
echo "up to date"
|
||||||
elif [ $LOCAL = $BASE ]; then
|
elif [ $LOCAL = $BASE ]; then
|
||||||
# there are changes to reset too so we need to rebuild
|
# there are changes to reset to so we need to rebuild
|
||||||
echo "missing changes !!"
|
echo "missing changes !!"
|
||||||
git reset --hard origin/main
|
git reset --hard origin/main
|
||||||
buildBlog
|
buildBlog
|
||||||
|
@ -22,5 +22,5 @@ echo $dTime
|
|||||||
if [ $dTime -gt $triggerTime ]
|
if [ $dTime -gt $triggerTime ]
|
||||||
then
|
then
|
||||||
touch $fileLock
|
touch $fileLock
|
||||||
bash $scriptToRun
|
source $scriptToRun
|
||||||
fi
|
fi
|
@ -1,5 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
cd $HOME/deadman
|
cd $HOME/deadman
|
||||||
|
|
||||||
postPatch='dead.patch'
|
postPatch='dead.patch'
|
||||||
@ -10,7 +9,7 @@ git clone git@github.com:CPunch/openpunk.git
|
|||||||
|
|
||||||
# commit & push the post
|
# commit & push the post
|
||||||
cd openpunk
|
cd openpunk
|
||||||
git am postPatch
|
git am $postPatch
|
||||||
# replace our --DATE-- with the current date
|
# replace our --DATE-- with the current date
|
||||||
sed -i 's/--DATE--/'$currDate'/g' $pageName
|
sed -i 's/--DATE--/'$currDate'/g' $pageName
|
||||||
git add .
|
git add .
|
||||||
|
Loading…
Reference in New Issue
Block a user