# HG changeset patch
# User Anton Shestakov <av6@dwimlabs.net>
# Date 1480745286 -28800
# Node ID 143c301f72a8b8ddd0ad2ec1a558b3f3a59f6367
# Parent  05d67cdc009c57f4f0b301f3cd99f0a65ab12a59
pipelines: test deployment user and path

diff -r 05d67cdc009c -r 143c301f72a8 bitbucket-pipelines.yml
--- a/bitbucket-pipelines.yml	Sat Dec 03 13:25:38 2016 +0800
+++ b/bitbucket-pipelines.yml	Sat Dec 03 14:08:06 2016 +0800
@@ -23,7 +23,7 @@
           - ./venv/bin/ansible-playbook contrib/provision/playbook.yml
               -i inventory --connection=local --skip-tags=ufw --verbose
               -e 'user=alice dir=/home/alice/files'
-          - ls -la /home/alice/files
+          - test -f /home/alice/files/index.html
           - pgrep -f '/usr/bin/prosody'
           - pgrep nginx
           - pgrep reTurnServer