Skip to content

Commit

Permalink
Set git safe directory
Browse files Browse the repository at this point in the history
  • Loading branch information
bobobo80 authored Feb 21, 2023
1 parent 9609678 commit 8081b61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8081b61

Please sign in to comment.