Open supermaxiste opened 8 months ago
These are very good ideas! I especially like the use of artifacts for docs.
For docker, we could also gain time by using GitHub action's layer caching system: https://depot.dev/blog/docker-layer-caching-in-github-actions#docker-layer-caching-in-github-actions
Based on recommendations from @cmdoret and @rmfranken. Feel free to add anything I missed.
docker_publish.yml
Time optimization:
Code redundancy:
env
variable to compute whether to push the image or not and add it as parameter in the actionExample:
sphynx_docs.yml
Code redundancy:
Example: