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

[Staging] Local build wrapper #3350

Merged
merged 2 commits into from
Sep 6, 2023
Merged

[Staging] Local build wrapper #3350

merged 2 commits into from
Sep 6, 2023

Conversation

steven1046
Copy link
Member

@steven1046 steven1046 commented Sep 6, 2023

What was changed and why?

Create a wrapper called ./scripts/build/local_site_build.sh around ./scripts/build/build.sh that adds an env variable to not run certain commands that don't work on a mac/local environment.

In scripts/build/jekyll.sh, i also removed existing directories if you try to re-run the site build locally that would fail before if the directory already existed.

Looks good on draft: https://draft-openlibertyio.mqj6zf7jocq.us-south.codeengine.appdomain.cloud/

Tested using browser:

  • Firefox (Desktop)
  • Safari (Desktop)
  • Chrome (Desktop)

@steven1046 steven1046 merged commit 11f39eb into staging Sep 6, 2023
2 checks passed
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.

2 participants