-
Notifications
You must be signed in to change notification settings - Fork 2
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
Set up PR vs production configs for the deploy action #38
Comments
This could be achieved with conditionals in the workflow file (and no changes needed to the action). Or it could be a PR to the action. Either seems doable. |
I would think the first option is more flexible right now? I guess we really need some more users of the action to see how we might properly generalize this? |
Agreed. A relatively manageable path forward would be to use a github workflow step that conditionally exports either env vars (or workflow step outputs) based on the github event type, which can then be inserted into the pangeo-forge-runner JSON config. |
In leap-stc/data-management#33, I currently have the following parts of this working: Push to main:
PR:
|
We are currently building the full recipe for every commit (if a label is set).
I think we should have some things set in two different config jsons based on the event type:
leap-persistent-ro
for each recipe and subfolders for each action runleap-scratch
)The text was updated successfully, but these errors were encountered: