From 2f02d90afcbfb88f2c7a2ead2ad5f18228573919 Mon Sep 17 00:00:00 2001 From: askpatrickw Date: Tue, 2 Aug 2022 16:40:26 -0700 Subject: [PATCH 1/3] remove hardcoded output --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index a38f2ea..7909e0e 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -19,7 +19,7 @@ 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 From 806b86e8d82f3ea0b049fc37d5bb62b829e52fd2 Mon Sep 17 00:00:00 2001 From: Patrick <4002194+askpatrickw@users.noreply.github.com> Date: Tue, 2 Aug 2022 16:45:05 -0700 Subject: [PATCH 2/3] Update entrypoint.sh --- entrypoint.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 7909e0e..e5e0bd9 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -22,7 +22,6 @@ echo 'Building site πŸ‘· ' 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 From d79a0062f95199e021c6be0b2057f652110edff1 Mon Sep 17 00:00:00 2001 From: Patrick <4002194+askpatrickw@users.noreply.github.com> Date: Tue, 2 Aug 2022 16:48:13 -0700 Subject: [PATCH 3/3] Update entrypoint.sh --- entrypoint.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index e5e0bd9..0cd58a8 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -37,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 πŸ•Έ'