Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the possibility to check links #39

Merged
merged 1 commit into from
Apr 25, 2022
Merged

Add the possibility to check links #39

merged 1 commit into from
Apr 25, 2022

Conversation

SkypLabs
Copy link
Contributor

This PR introduces the possibility to check links with zola check by adding two environment variables: CHECK_LINKS and CHECK_FLAGS.

Similarly to BUILD_ONLY and BUILD_FLAGS, those two environment variables allow to trigger the use of zola check when running the GitHub Action and specify flags to be passed to the command, like --drafts.

This commit introduces the possibility to check links with `zola check`
by adding two environment variables: `CHECK_LINKS` and `CHECK_FLAGS`.

Similarly to `BUILD_ONLY` and `BUILD_FLAGS`, those two environment
variables allow to trigger the use of `zola check` when running the
GitHub Action and specify flags to be passed to the command, like
`--drafts`.
@SkypLabs
Copy link
Contributor Author

I have tested this PR in my fork repository by temporarily changing the GitHub Action source to use in the Build workflow: https://github.com/SkypLabs/zola-deploy-action/actions/runs/2204384600.

@SkypLabs SkypLabs mentioned this pull request Apr 21, 2022
@shalzz
Copy link
Owner

shalzz commented Apr 25, 2022

Looks good, thanks!

@shalzz shalzz merged commit b3255a5 into shalzz:master Apr 25, 2022
@SkypLabs SkypLabs deleted the feature/zola-check branch April 25, 2022 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants