diff --git a/entrypoint.sh b/entrypoint.sh index 0cd58a8..2ecad25 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -22,6 +22,7 @@ echo 'Building site 👷 ' pelican ${PELICAN_CONTENT_FOLDER:=content} -s ${PELICAN_CONFIG_FILE:=publishconf.py} echo 'Publishing to GitHub Pages 📤 ' +git config --global --add safe.directory /github/workspace/output git init git remote add deploy "$remote_repo" git checkout $remote_branch || git checkout --orphan $remote_branch