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

Try caching the mamba environment #63

Merged
merged 5 commits into from
Jun 8, 2022
Merged

Try caching the mamba environment #63

merged 5 commits into from
Jun 8, 2022

Conversation

brian-rose
Copy link
Owner

Here's a strategy to speed up preview deployment: create the conda environment (using mamba) once, and cache it for later reuse.

The idea is that the cache is date-stamped, and will get rebuilt if the date changes OR the environment file changes.

Following this tutorial: https://dev.to/epassaro/caching-anaconda-environments-in-github-actions-5hde

@github-actions
Copy link

github-actions bot commented Jun 8, 2022

👋 Thanks for opening this PR! The book will be automatically built with GitHub Actions. To see the status of your deployment, click below.
🔍 Git commit SHA: f6e5ac2
✅ Deployment Preview URL: https://brian-rose.github.io/ClimateLaboratoryBook/_preview/63

@brian-rose brian-rose merged commit 2e20add into main Jun 8, 2022
@brian-rose brian-rose deleted the cache-conda-env branch June 8, 2022 17:04
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.

None yet

1 participant