MkDocs with FTP (minimal configuration)
- Edit
mkdocs.ymlanddocs/index.md, add more files if needed. - Add the pip package to
requirements.txt. (Themes and plugins) - Select
Settingsfor your GitHub project. - Select
Secrets and variablesinSecrets. - Select
Actions - Select
New repository secrets. - Add the following name and value:
- FTP_SERVER: FTP server name
- FTP_PORT: FTP port number (optional)
- FTP_USERNAME: FTP user name
- FTP_PASSWORD: FTP password
- FTP_PROTOCOL:
ftporftps(ftpsis recommended) - FTP_SERVERDIR: Destination FTP server directory
- Commit to a GitHub project:
git push
Please check with your FTP client before configuring.
Many of the build error are that you mistyped mkdocs.yml
or you forgot to add the package to requirements.txt.
Check the file change immediately before the error occurred.
This is often not a problem with this project. You should not open an issue for that.