FIX: Attemtep fix

This commit is contained in:
justgoodin 2021-06-27 01:48:41 +05:30
parent be82f8da2e
commit a4c149b60d
2 changed files with 5 additions and 5 deletions

View file

@ -1,9 +1,9 @@
FROM python:3.9-slim
FROM python:3.7-slim
LABEL "com.github.actions.name"="Deploy Pelican Site to Firebase"
LABEL "com.github.actions.description"="Deploy Pelican Site to Firebase"
LABEL "com.github.actions.icon"="mic"
LABEL "com.github.actions.color"="yellow"
LABEL "com.github.actions.icon"="home"
LABEL "com.github.actions.color"="red"
LABEL "repository"="https://github.com/justgoodin/pelican-to-firebase"
LABEL "homepage"="https://github.com/justgoodin/pelican-to-firebase"

View file

@ -28,7 +28,7 @@ git remote add deploy "$remote_repo"
git checkout $remote_branch || git checkout --orphan $remote_branch
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
if [ "$GH_PAGES_CNAME" == "none" ]
if [ "$GH_PAGES_CNAME" != "none" ]
then
echo "$GH_PAGES_CNAME" > CNAME
fi
@ -40,4 +40,4 @@ git push deploy $remote_branch --force
rm -fr .git
popd
echo 'Done 🎉🎉 🕺💃 '
echo 'Done 🎉🎉 🕺💃 '