Mangiang f680a2df1e
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
docs: Update documentation
2022-05-29 00:08:55 -04:00
..
2022-05-28 23:44:16 -04:00
2022-05-29 00:08:55 -04:00

Website Deployment

The deployment happens on commit or merge on master branch. It is automatically handled by DroneCI and Ansible.

The deployment pipeline lives in:

Deployment flow

On development and feature branches, the deployment flow is:

  • Cloning the project
  • Replacing values for ansible inventory file using DroneCI secrets
  • Checking the playbook syntax
  • Running the playbook in dry-run mode

On master, the deployment flow is:

  • Cloning the project
  • Replacing values for ansible inventory file using DroneCI secrets
  • Checking the playbook syntax
  • Running the playbook in dry-run mode
  • Executing the playbook

The playbook

It has only one instruction: Go to the directory in the server and git pull to update everything.