Skip to content

Commit

Permalink
fix: fix shell script errors in docs publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
eykd committed Feb 1, 2024
1 parent 9dced8a commit 38142c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pypipublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ jobs:
# From https://github.com/mhausenblas/mkdocs-deploy-gh-pages/blob/e55ecab6718b449a90ebd4313f1320f9327f1386/action.sh#L35C1-L59C1
if [ -n "${GITHUB_TOKEN}" ]; then
echo "setup with GITHUB_TOKEN"
remote_repo="https://x-access-token:${GITHUB_TOKEN}@$github.com/eykd/convoke.git"
remote_repo="https://x-access-token:${GITHUB_TOKEN}@github.com/eykd/convoke.git"
elif [ -n "${PERSONAL_TOKEN}" ]; then
echo "setup with PERSONAL_TOKEN"
remote_repo="https://x-access-token:${PERSONAL_TOKEN}@$$github.com/eykd/convoke.git"
remote_repo="https://x-access-token:${PERSONAL_TOKEN}@github.com/eykd/convoke.git"
else
echo "no token found; linting"
fi
Expand All @@ -68,7 +68,7 @@ jobs:
fi
if ! git config --get user.email; then
git config --global user.email "${GITHUB_ACTOR}@users.noreply.${GITHUB_DOMAIN:-"github.com"}"
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
fi
git remote rm origin
Expand Down

0 comments on commit 38142c8

Please sign in to comment.