App360 User Guide
Setup continuous deployment with ansible and hook
Versions:
4.1
First we need a playbook to deploy things, here we use the builtin app 'Static Site CD'
The server will have apache installed, also the website source will be checked out from github during each playbook run
Add a hook for integrating the GitHub
Give the hook a name and cooldown period
The plan is, when code committed to the git repo, run the playbook to checkout latest codes to the web server
Click the hook icon to edit the hook, and create an action
Select a particular playbook to run when the hook got triggered
Review if the setup is correct, and copy the Trigger URL
Go to the github repo and add a webhook with the trigger url generated by app360
The setup is done, let's test by updating a line in the repo
The playbook should be executed soon, then you may verify it on the website
© 2017 Appcara