test deploy
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
Ben Harris 2019-12-06 10:40:55 -05:00
parent cc8821132f
commit 9da2062f39
2 changed files with 20 additions and 0 deletions

19
.drone.yml Normal file
View File

@ -0,0 +1,19 @@
---
kind: pipeline
type: ssh
name: deploy
server:
host:
from_secret: host
user:
from_secret: username
ssh_key:
from_secret: ssh_key
steps:
- name: deploy
commands:
- cd /var/www/tilde.chat
- sudo -Hu www-data git pull origin master

View File

@ -36,6 +36,7 @@ if (!isset($_GET["page"]) || !file_exists("pages/{$_GET['page']}.md")) {
<p>if you want to contribute, check out the
<a href="https://tildegit.org/tildeverse/tilde.chat/src/branch/master/wiki">source</a> and open a PR!
</p>
<p>commits to master will be automatically deployed</p>
<hr>
<h3>pages:</h3>