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 previews #966

Merged
merged 12 commits into from
Jan 20, 2025
Merged

add previews #966

merged 12 commits into from
Jan 20, 2025

Conversation

artcz
Copy link
Contributor

@artcz artcz commented Jan 20, 2025

No description provided.

@artcz artcz self-assigned this Jan 20, 2025
Copy link
Contributor

github-actions bot commented Jan 20, 2025

Preview available

Key Value
url https://website-previews.ep-preview.click
last update 2025-01-20T16:10:00.792Z

Copy link
Contributor

@cybit cybit left a 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
Copy link
Contributor

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.

Suggested change
PREVIEW_HOSTNAME: ep-preview.click
PREVIEW_HOSTNAME: ${{ vars.PREVIEW_HOSTNAME }}

Copy link
Contributor Author

@artcz artcz Jan 20, 2025

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.

README.md Outdated Show resolved Hide resolved
src/components/footer.astro Outdated Show resolved Hide resolved
artcz and others added 2 commits January 20, 2025 17:08
Remove the extra dot that was added just to trigger the build

Co-authored-by: Cyril Bitterich <[email protected]>
@artcz artcz merged commit 168266a into deployment-simpler Jan 20, 2025
4 checks passed
@artcz artcz deleted the website-previews branch January 20, 2025 16:15
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