Upload met Github Actions
Doe geautomatiseerde upload van GitHub naar public_html met GitHub Actions via FTP/SSH-acties en sla inloggegevens op als secrets.
Het is mogelijk om automatisch je GitHub‑repository te uploaden, door gebruik te maken van GitHub Actions.
We kunnen het volgende aanbevelen:
- 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: Bewaar je inloggegevens (gebruikersnaam, private key enz.) als secrets in je GitHub‑repository (Instellingen → Secrets and variables → Actions). Op die manier exposeer je geen gevoelige data in het workflow‑bestand.
Onthoud dat je “public” bestanden in principe naar de public_html‑map op onze servers moeten worden gedeployed.
Artikel uit de ondersteuningscategorie: FTP