DjangoGirls / tutorial

This is a tutorial we are using for Django Girls workshops
http://tutorial.djangogirls.org/
Other
1.53k stars 1.86k forks source link

Make rendered result (HTML files) downloadable #1715

Open das-g opened 3 years ago

das-g commented 3 years ago

Issue description

Make the HTML files generated by the GitHub action downloadable. This would have several use-cases:

I guess this can be achieved by declaring result directory to be an artifact? (Here's GitHub's documentation on how to download GitHub Actions workflow artifacts.)

Language

all

Operating system

n/a

ekohl commented 3 years ago

check that workflows that do not trigger a deployment (for branches other than master) produced the expected result

I guess that makes sense can help with reviewing PRs. I would probably not generate them on pushes to master though since we already update gh-pages.

use the tutorial offline (see e.g. this question in our Gitter chatroom)

For that you can already download the gh-pages branch: https://github.com/DjangoGirls/tutorial/archive/refs/heads/gh-pages.zip