- Github Action + RSYNC
- Run
npm install - Run
composer install - You'll need to populate the content folder for kirby to run locally
content/site.txtcontent/home/home.txt
- Setup a local server, and add the local url to
.env. Example:LOCAL_URL = 'http://example.localhost/' npm run devwill watch files and process them on when updated. Updates will be reflected on browsersync proxy url.npm run buildwill run once and generate the minified produciton files.
composer updateto update Kirby
Github will need SSH access to the server to deploy via rsync
- Generate a new SSH key and put the secret in github repo secrets
- Public Key goes on the server