Skip to content

Commit

Permalink
Merge pull request rehanhaider#4 from askpatrickw/fix-output-folder
Browse files Browse the repository at this point in the history
Fix output folder
  • Loading branch information
rehanhaider authored Aug 3, 2022
2 parents 8339a6c + d79a006 commit 26da5de
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ if [ -n "$PELICAN_THEME_FOLDER" ]; then
fi

echo 'Building site 👷 '
pelican ${PELICAN_CONTENT_FOLDER:=content} -o output -s ${PELICAN_CONFIG_FILE:=publishconf.py}
pelican ${PELICAN_CONTENT_FOLDER:=content} -s ${PELICAN_CONFIG_FILE:=publishconf.py}

echo 'Publishing to GitHub Pages 📤 '
pushd output
git init
git remote add deploy "$remote_repo"
git checkout $remote_branch || git checkout --orphan $remote_branch
Expand All @@ -38,6 +37,5 @@ echo -n 'Files to Commit:' && ls -l | wc -l
git commit -m "[ci skip] Automated deployment to GitHub Pages on $(date +%s%3N)"
git push deploy $remote_branch --force
rm -fr .git
popd

echo 'Successfully 🎉🕺💃 🎉 deployed to interwebs 🕸'

0 comments on commit 26da5de

Please sign in to comment.