-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Use Firebase Hosting Preview Channels
to deploy a web app for every pull request.
#119
Conversation
Visit the preview URL for this PR (updated for commit c53c001): https://sharezone-test--pr119-web-preview-channels-q1asu2sl.web.app (expires Mon, 14 Feb 2022 11:33:59 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 |
@Jonas-Sander Web previews are not working 👍 You can review now. They are using the |
I think we should also add a warning in the future that its a temporary web app and that no personal data should be entered - like #27 |
Maybe we should also add this to our cli tool |
Or is it 30 days from first deploy? Anyways I would lower it anyways. |
The default is 7 days. Should we pick this or even lower, like 3 days? |
Should we do this in this PR? |
I mean there are two cases:
In the first case I would say three days in the second one maybe seven (could be even more). We could also say in the latter case that we don't deploy for draft PRs so we don't start deploying a web app when it's not necessary so we don't already start the expiry date counter. I hope I didn't make it too complicated :D |
Right now it says
06.03.2022 - what happens to the date if you push a new commit? |
No, in another one I'd say. |
It expires x days after the last commit. I would not pick three days, because this would also require that we review the pull request in these three days, otherwise we are not able to use the preview. Because of this, I would pick 7 days, which gives us a bit more freedom. |
Yeah, true, let's do 7:) |
@Jonas-Sander Changed it 7d 👍 You can now review again. |
Can you fix this? |
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.
See comment above
LGTM |
We are building for every PR a web preview, which will be deployed to Firebase Hosting. The link to the website will posted as comment (like: #119 (comment)).
The previews are helping reviewer and other users to quickly view the changes in a compiled version.
A link to a preview expires after 30 days.
Closes #8