DjangoGirls / tutorial

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

Switch to actions/deploy-pages #1791

Closed ekohl closed 1 year ago

ekohl commented 1 year ago

This uses the currently beta feature of using GitHub Actions to deploy GitHub Pages, rather than using a gh-pages branch. This keeps the repository size smaller.

While this feature is beta, it is used by default.

This does require a change on the repo itself and since I don't have the permissions, someone else will need to do this. https://github.blog/changelog/2022-07-27-github-pages-custom-github-actions-workflows-beta/ shows how to.

This will make it easier to publish large artifacts, such as ebooks (see https://github.com/DjangoGirls/tutorial/issues/1785).

das-g commented 1 year ago

I've now changed the "Source" setting at https://github.com/DjangoGirls/tutorial/settings/pages to "GitHub Actions". Are any other changes to settings needed?

ekohl commented 1 year ago

@das-g no, that should be sufficient. Want to try and merge it to see how it performs?

ekohl commented 1 year ago

I think that looks good. Shall we delete the gh-pages branch now?