Loading publish_on_pages.sh +7 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,13 @@ echo "TAG NAME:" $4 echo "------ Get the previous GitLab Pages content --------" set +e curl --fail "$2/content.zip" -o "content.zip" if [ -e "content.zip" ]; then unzip "content.zip"; rm "content.zip"; fi if [ -e "content.zip" ]; then unzip "content.zip"; rm "content.zip"; else echo 'Pages do not exist yet'; exit 0 fi set -e echo "------ Add/update content --------" Loading Loading
publish_on_pages.sh +7 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,13 @@ echo "TAG NAME:" $4 echo "------ Get the previous GitLab Pages content --------" set +e curl --fail "$2/content.zip" -o "content.zip" if [ -e "content.zip" ]; then unzip "content.zip"; rm "content.zip"; fi if [ -e "content.zip" ]; then unzip "content.zip"; rm "content.zip"; else echo 'Pages do not exist yet'; exit 0 fi set -e echo "------ Add/update content --------" Loading