Upload with Github Actions
Automate uploading from GitHub to public_html with GitHub Actions using FTP/SSH actions and store credentials as secrets.
It is possible to automatically upload your GitHub repository by using GitHub Actions.
We can recommend the following:
- https://github.com/marketplace/actions/ftp-deploy (FTP)
- https://github.com/marketplace/actions/ssh-deploy (SSH)
- https://github.com/marketplace/actions/web-deploy-anything (SSH)
Tip: Store your credentials (username, private key, etc.) as secrets in your GitHub repository (Settings → Secrets and variables → Actions). This way you do not expose sensitive data in the workflow file.
Remember that your “public” files should, by default, be deployed to the public_html folder on our servers.
Article from the support category: FTP