Skip to content

Commit

Permalink
Add lint mode (#120)
Browse files Browse the repository at this point in the history
Signed-off-by: Cristian Klein <[email protected]>
  • Loading branch information
cristiklein committed Sep 9, 2021
1 parent 7f92092 commit 68831f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions action.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ if [ -n "${GITHUB_TOKEN}" ]; then
elif [ -n "${PERSONAL_TOKEN}" ]; then
print_info "setup with PERSONAL_TOKEN"
remote_repo="https://x-access-token:${PERSONAL_TOKEN}@${GITHUB_DOMAIN:-"github.com"}/${GITHUB_REPOSITORY}.git"
else
print_info "no token found; linting"
exec -- mkdocs build --strict
fi

if ! git config --get user.name; then
Expand Down

0 comments on commit 68831f0

Please sign in to comment.