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

Revamp our live deployment and dev preview model and workflows #281

Merged
merged 5 commits into from
May 8, 2024

Conversation

joanise
Copy link
Member

@joanise joanise commented May 8, 2024

PR Goal?

Overhaul the way we deploy the Studio-Web app to https://readalong-studio.mothertongues.org/

This is not quite what we agreed on: we were going to deploy from main and preview from dev, but I decided deploy and main made more sense because in every project, main is our development branch, and I think it would have caused frequent confusion to change that model here.

Still to do (future PR): make the live deployment use the published bundle, in sync with npm.

Note: I created the deploy branch and pointed it at the last commit that uses web-component 1.3.0 unmodified. When we merge this PR to deploy, the live deployment will roll back to not have the gear menu, which will only be visible on the dev preview for now, until we publish 1.4.0 and re-deploy.

Feedback sought?

Feedback on the model itself and my choice of branch names.
Workflow code feedback.

Priority?

high

Tests added?

This can't be tested automatically, but I tested by running these workflows on my fork.
See

I have validated that main, dev and pr-previews don't interfere with each other.

How to test?

No need, unless you want to redo my fork tests on your own fork.

Confidence?

High

Version change?

nope

@joanise joanise requested review from dhdaines, deltork and roedoejet May 8, 2024 17:50
Copy link
Contributor

github-actions bot commented May 8, 2024

PR Preview Action v1.4.7
🚀 Deployed preview to https://ReadAlongs.github.io/Studio-Web/pr-preview/pr-281/
on branch gh-pages at 2024-05-08 17:52 UTC

Copy link
Collaborator

@deltork deltork left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer it this way.

@joanise joanise merged commit 651f099 into deploy May 8, 2024
2 checks passed
@joanise joanise deleted the dev.deploy branch May 8, 2024 20:12
joanise added a commit that referenced this pull request May 8, 2024
Finishes deploying the dev preview from #281 already merged in deploy,
now merging it into main too, so it's our model everywhere.
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.

4 participants