sbt/scripts/push-gh-pages-helper.sh

8 lines
205 B
Bash
Executable File

#!/bin/bash
if [ "$1" = "clone" ]; then
git clone "https://${GH_TOKEN}@github.com/coursier/coursier.git" -b gh-pages coursier-gh-pages >/dev/null 2>&1
else
git push origin gh-pages >/dev/null 2>&1
fi