Commit 240de97f authored by Ioanna M. Dimitriou H's avatar Ioanna M. Dimitriou H

added ansible cicd pipeline

parent f13855c6
......@@ -4,4 +4,7 @@ This is the most current version of my website, which runs on a nixos server.
## ci/cd pipeline with ansible
After commiting changes to my local copy of this repository, my website gets updated with
`./update-website` which pushes the changes and plays the ansible playbook `ansible/cicd.yml`.
- hosts:
user: "{{ username }}"
- name: pull new code from repository
git: repo="{{ repository }}" dest="/home/{{ username }}/quicklisp/local-projects"
- name: restart website
name: ioa
state: restarted
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment