Auto-deploy the site when changes happen #2

Closed
opened 2018-12-01 00:03:59 +01:00 by decentral1se · 1 comment
Owner

So, when I run Ansible now, after some commits come in, we do (more or less):

And then a new version of the site is up. We might do other stuff though soon (turning services on/off, migrating the database, backing up something, saving uploaded book files, etc.). It would be nice to just run what we do manually with Ansible:

https://git.vvvvvvaria.org/decentral1se/xppl/src/branch/master/ansible/README.md#run-it

So, when I run Ansible now, after some commits come in, we do (more or less): * [Get the new code](https://git.vvvvvvaria.org/decentral1se/xppl/src/branch/master/ansible/roles/git/tasks/main.yml#L9) * [Install the Python dependencies](https://git.vvvvvvaria.org/decentral1se/xppl/src/branch/master/ansible/roles/pipenv/tasks/main.yml#L15) And then a new version of the site is up. We might do other stuff though soon (turning services on/off, migrating the database, backing up something, saving uploaded book files, etc.). It would be nice to just run what we do manually with Ansible: > https://git.vvvvvvaria.org/decentral1se/xppl/src/branch/master/ansible/README.md#run-it
Author
Owner

This may be a bit too flashy for now.

We don't even have a CI build on Gitea, so how can we even get this to run after things get merged?

Would be nice anyway, we'll probably get there.

This may be a bit too flashy for now. We don't even have a CI build on Gitea, so how can we even get this to run after things get merged? Would be nice anyway, we'll probably get there.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: varia/xppl#2
No description provided.