Surge-MkDocs
https://github.com/fu-sen/Surge-MkDocs
MkDocs with Surge (minimal configuration)
How to use
- Edit
mkdocs.yml
anddocs/index.md
, add more files if needed. - Change the
docs/CNAME
to the desiredexample.surge.sh
. Or you can use the custom domainexample.com
- Add the pip package to
requirements.txt
. (Themes and plugins) - Get a token with the command
surge token
. - Select
Settings
for your GitHub project. - Select
Actions
inSecrets
. - Select
New repository secrets
. - Enter
SURGE_LOGIN
in Name and Surge login email in Value. - Select
New repository secrets
. - Enter
SURGE_TOKEN
in Name and token in Value. - Commit to a GitHub project:
git push