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

feature: Add action to deploy previews on PR #106

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

niklasmtj
Copy link
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 <[email protected]>
@niklasmtj niklasmtj added the enhancement New feature or request label Dec 6, 2022
@niklasmtj niklasmtj self-assigned this Dec 6, 2022
@github-actions
Copy link

github-actions bot commented Dec 6, 2022

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
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
Member

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

@scottrigby
Copy link
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
Member

I believe this is fixed with #105

@todaywasawesome todaywasawesome self-assigned this Jan 18, 2023
@niklasmtj
Copy link
Member Author

niklasmtj commented Jan 18, 2023

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

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

@cpanato
Copy link

cpanato commented May 10, 2023

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
Contributor

should we close this PR? @todaywasawesome @scottrigby ?

@scottrigby
Copy link
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
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?

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