diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 968a7a1..3995dba 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -72,7 +72,6 @@ deploy-shockrah.xyz: - ssh-keyscan shockrah.xyz 2>&1 >> ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts script: - - pwd && ls -Ra - ansible-playbook -i $INVENTORY scripts/deploy-blog.yml diff --git a/scripts/deploy-blog.yml b/scripts/deploy-blog.yml index 02a5779..5d14725 100644 --- a/scripts/deploy-blog.yml +++ b/scripts/deploy-blog.yml @@ -3,7 +3,9 @@ remote_user: ubuntu become: yes tasks: + # Note that the path for src is relative to this playbook + # not from the calling site - name: Copy Blog Content copy: - src: "public/" + src: "../public/" dest: /var/www/shockrah.xyz