-
Notifications
You must be signed in to change notification settings - Fork 50
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
How to get preview url, editor url and themeid from one step to another #29
Comments
Changes can be found here |
We don't output them now. But maybe we should! Also IIRC, it's good practice to declare your outputs in the actions.yml output field. But I'm not sure that works if we delete the theme after. https://github.com/Shopify/lighthouse-ci-action/blob/main/entrypoint.sh#L89 |
@charlespwd i missed the cleanup job :), i was trying to reuse this action to create feature branch based environment for testing. I couldn't see the logs associated with cleanup job here |
That's a good idea. All you really need is this part here: https://github.com/Shopify/lighthouse-ci-action/blob/main/entrypoint.sh#L118-L144 IIRC development themes get cleaned up after two weeks of inactivity. You might be even be able to pipe the output of that into https://github.com/shopify/github-deployment-action to get a GitHub environment for it. |
I would like to output preview url, editor URL and themeid so that it can be accessed in next steps. Is this something possible now or do we need to add below scripts.
entrypoint.sh
ci.yml
The text was updated successfully, but these errors were encountered: