Skip to content

feature: Add action to deploy previews on PR#106

Closed
niklasmtj wants to merge 1 commit into
mainfrom
feature/preview-deployments
Closed

feature: Add action to deploy previews on PR#106
niklasmtj wants to merge 1 commit into
mainfrom
feature/preview-deployments

Conversation

@niklasmtj

Copy link
Copy Markdown
Member

This will enable the function of preview deployments when a PR is open and removes them when the PR is closed.

Should close #102

This will enable the function of preview deployments
when a PR is open and removes them when the PR is
closed.

Should close #102

Signed-off-by: Niklas Metje <22395665+niklasmtj@users.noreply.github.com>
@niklasmtj niklasmtj added the enhancement New feature or request label Dec 6, 2022
@niklasmtj niklasmtj self-assigned this Dec 6, 2022
@github-actions

github-actions Bot commented Dec 6, 2022

Copy link
Copy Markdown
PR Preview Action v1.2.0
🚀 Deployed preview to https://open-gitops.github.io/website/pr-preview/pr-106/
on branch gh-pages at 2022-12-06 20:57 UTC

@niklasmtj

Copy link
Copy Markdown
Member Author

Well it seems that we have a hard redirect from https://open-gitops.github.io to https://opengitops.dev/ which means that we have to figure out if it is possible to host previews like that.

@christianh814

Copy link
Copy Markdown
Member

I wonder if we could have a subdomain for this? Like preview.opengitops.dev? @todaywasawesome @scottrigby

@scottrigby

Copy link
Copy Markdown
Member

We should fix any hard redirects. For the most part links are relative, at least it seems that way based on local dev

@todaywasawesome

Copy link
Copy Markdown
Member

I believe this is fixed with #105

@todaywasawesome todaywasawesome self-assigned this Jan 18, 2023
@niklasmtj

niklasmtj commented Jan 18, 2023

Copy link
Copy Markdown
Member Author

I will have a closer look into this in the next days. It still seems to be the case that the redirect is going against the regular opengitops.dev page but there should be a solution.

@williamcaban

Copy link
Copy Markdown

I noticed this has been stalled waiting for reviews. Is this PR still relevant after #105 ?

@cpanato

cpanato commented May 10, 2023

Copy link
Copy Markdown

Hello, I just want to bring attention to the limits that the GitHub page has, we maybe don't hit this in the near term but it is something to consider https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages#usage-limits

cc @scottrigby

@varodrig

Copy link
Copy Markdown
Contributor

should we close this PR? @todaywasawesome @scottrigby ?

@scottrigby

Copy link
Copy Markdown
Member

This is a nice to have, it should not be a blocker. PR reviewers can still build the website on PR branches locally and preview that way as part of the preview process.

@scottrigby

Copy link
Copy Markdown
Member

I noticed this has been stalled waiting for reviews. Is this PR still relevant after #105 ?

I honestly don't know, but I'd be willing to give it a shot and fix any problems that arise.

@niklasmtj WDYT, would you want to update this PR at all or just merge and see if we need to revert if anything goes wrong?

@niklasmtj niklasmtj closed this Sep 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pull request previews

7 participants