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 a skip feature to build tasks #1656

Merged
merged 20 commits into from
Apr 13, 2024
Merged

Add a skip feature to build tasks #1656

merged 20 commits into from
Apr 13, 2024

Conversation

caendesilva
Copy link
Member

@caendesilva caendesilva commented Apr 12, 2024

Designed to match the exception formatting but with less scary output

if (blank(Hyde::url()) || str_starts_with(Hyde::url(), 'http://localhost')) {
    $this->skip('Cannot generate sitemap without a valid base URL');
}

image

@caendesilva caendesilva temporarily deployed to pr-documentation-1656 April 12, 2024 18:04 — with GitHub Actions Inactive
@caendesilva caendesilva temporarily deployed to pr-documentation-1656 April 12, 2024 18:32 — with GitHub Actions Inactive
@caendesilva caendesilva temporarily deployed to pr-documentation-1656 April 13, 2024 09:35 — with GitHub Actions Inactive
@caendesilva caendesilva temporarily deployed to pr-documentation-1656 April 13, 2024 09:48 — with GitHub Actions Inactive
@caendesilva caendesilva temporarily deployed to pr-documentation-1656 April 13, 2024 09:48 — with GitHub Actions Inactive
@caendesilva caendesilva temporarily deployed to pr-documentation-1656 April 13, 2024 09:51 — with GitHub Actions Inactive
@caendesilva caendesilva temporarily deployed to pr-documentation-1656 April 13, 2024 09:55 — with GitHub Actions Inactive
@caendesilva caendesilva temporarily deployed to pr-documentation-1656 April 13, 2024 09:55 — with GitHub Actions Inactive
@caendesilva caendesilva force-pushed the build-task-skip-feature branch from e7569fc to fad38fc Compare April 13, 2024 09:57
@caendesilva caendesilva temporarily deployed to pr-documentation-1656 April 13, 2024 09:57 — with GitHub Actions Inactive
@caendesilva caendesilva temporarily deployed to pr-documentation-1656 April 13, 2024 09:57 — with GitHub Actions Inactive
@caendesilva caendesilva marked this pull request as ready for review April 13, 2024 10:02
@caendesilva caendesilva merged commit f9d1131 into master Apr 13, 2024
20 checks passed
@caendesilva caendesilva deleted the build-task-skip-feature branch April 13, 2024 10:10
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.

1 participant