Skip to content

Conversation

@artcz
Copy link
Contributor

@artcz artcz commented Jan 20, 2025

No description provided.

@artcz artcz self-assigned this Jan 20, 2025
@github-actions
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.

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 <cebit-github@gunnet.de>
Co-authored-by: Cyril Bitterich <cebit-github@gunnet.de>
@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
@egeakman egeakman restored the website-previews branch February 24, 2025 16:51
egeakman pushed a commit that referenced this pull request Feb 24, 2025
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Cyril Bitterich <cebit-github@gunnet.de>
@egeakman egeakman deleted the website-previews branch March 10, 2025 00:21
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.

3 participants