Skip to content

fu-sen/FTP-MkDocs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

FTP-MkDocs

MkDocs with FTP (minimal configuration)

How to use

  1. Edit mkdocs.yml and docs/index.md, add more files if needed.
  2. Add the pip package to requirements.txt . (Themes and plugins)
  3. Select Settings for your GitHub project.
  4. Select Secrets and variables in Secrets.
  5. Select Actions
  6. Select New repository secrets.
  7. 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: ftp or ftps (ftps is recommended)
    • FTP_SERVERDIR: Destination FTP server directory
  8. Commit to a GitHub project: git push

Please check with your FTP client before configuring.

Build error

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.

About

πŸ“ƒ MkDocs with πŸ“‚ FTP (minimal configuration)

Topics

Resources

Stars

Watchers

Forks