Skip to content
Snippets Groups Projects
Commit 72066aa8 authored by mazenovi's avatar mazenovi
Browse files

enhance ci

parent 22b757af
No related branches found
No related tags found
No related merge requests found
image: ubuntu:precise
image: ubuntu:xenial
cache:
paths:
......@@ -27,6 +27,7 @@ deploy:
dependencies:
- build
script:
- apt-get install -y --force-yes rsync
- scp -r output/* mazenod@192.168.100.59:~/public_html/
- ssh mazenod@192.168.100.59 'find ~/public_html/ -type f -exec chmod -R 644 {} \;'
- ssh mazenod@192.168.100.59 'find ~/public_html/ -type d -exec chmod -R 755 {} \;'
- rsync -az --exclude '_' -e ssh output/ mazenod@192.168.100.59:~/public_html/
- rsync -az --exclude '_' -e ssh output/ $USERNAME@$HOST:~/public_html/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment