ReadAlongs / Studio-Web

Suite of web packages for creating interactive ReadAlongs (this repo was formerly called Web-Component)
https://readalong-studio.mothertongues.org/
Other
9 stars 9 forks source link

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

Closed joanise closed 4 months ago

joanise commented 4 months ago

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

github-actions[bot] commented 4 months ago

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