-
Notifications
You must be signed in to change notification settings - Fork 63
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 previews #966
add previews #966
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
Preview available
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly cosmetics
name: Run preview | ||
runs-on: ubuntu-latest | ||
env: | ||
PREVIEW_HOSTNAME: ep-preview.click |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we have this as an environment variable please? Makes it reusable for others.
PREVIEW_HOSTNAME: ep-preview.click | |
PREVIEW_HOSTNAME: ${{ vars.PREVIEW_HOSTNAME }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point! - but I'm going to keep it as-is for now, because there are other things in that GHA that are enviornment-specific, so might be better to just have a separate commit/PR dealing with all those changes at once. – for example there's a separate deployment hostname (static.ep).
Separately it's probably a good idea to structure it as separate build/preview/deploy steps, so could be done as part of that change. Currently deploy/preview share a lot of logic that can be put in a separate "build" step.
Remove the extra dot that was added just to trigger the build Co-authored-by: Cyril Bitterich <[email protected]>
Co-authored-by: Cyril Bitterich <[email protected]>
No description provided.