-
-
Notifications
You must be signed in to change notification settings - Fork 1k
How to publish saved pages with SingleFile on GitHub
Gildas edited this page Sep 5, 2021
·
8 revisions
- Create the repository used to store saved pages, see https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/creating-a-new-repository. You can also fork https://github.com/gildas-lormeau/SingleFile-Archives which contains an
index.html
file displaying the listing of saved pages. - Set the
main
branch as the source of GitHub pages, see https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site. - Create a personal access token associated to your account on GitHub, see https://docs.github.com/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token.
- Select
Destination > upload to GitHub
in the options page of SingleFile and enter youraccess token
,user name
. You can also set therepository name
and thebranch name
if your repository is not namedSingleFile-Archives
or if the branch is not namedmain
respectively.
Warning: Once a page saved on GitHub, it is very complicated to delete it, see https://docs.github.com/github/authenticating-to-github/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository.