Website/.ansible/README.md
Mangiang e89503da74
All checks were successful
continuous-integration/drone/push Build is passing
docs: enhance documentation
2022-05-29 00:06:10 -04:00

1007 B

Website Deployment

The deployment happens on commit and merge on master branch and it is handled by DroneCI and Ansible.

Deployment flow

The deployment pipeline lives in:

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.