Update entrypoint.sh

This commit is contained in:
justgoodin 2021-07-12 12:50:35 +05:30 committed by GitHub
parent 0f2ecaa933
commit eee62c83b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ echo "ACTOR: $GITHUB_ACTOR"
remote_repo="https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" remote_repo="https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
remote_branch=${GH_PAGES_BRANCH:=gh-pages} remote_branch=${GH_PAGES_BRANCH:=gh-pages}
echo 'Installing Python Requirements 🐍 ' echo 'Installing Python 🐍 Requirements '
pip install -r requirements.txt pip install -r requirements.txt
if [ -n "$PELICAN_THEME_FOLDER" ]; then if [ -n "$PELICAN_THEME_FOLDER" ]; then
@ -21,9 +21,7 @@ fi
echo 'Building site 👷 ' echo 'Building site 👷 '
pelican ${PELICAN_CONTENT_FOLDER:=content} -o output -s ${PELICAN_CONFIG_FILE:=publishconf.py} pelican ${PELICAN_CONTENT_FOLDER:=content} -o output -s ${PELICAN_CONFIG_FILE:=publishconf.py}
echo 'Fixing sitemap ❌ 👉🏽 ✔ ' echo 'Running add-ons ❌ 👉🏽 ✔ '
python sitemap.py python addons.py
echo 'Build complete 🎉🎉 🕺💃 ' echo 'Build complete 🎉🎉 🕺💃 '