Skip to content

Commit

Permalink
Merge pull request #130 from ansistrano/s3_folders
Browse files Browse the repository at this point in the history
fix s3 deployment from a folder inside the bucket
  • Loading branch information
ricardclau committed Jun 8, 2016
2 parents e2e04fe + ae2d19a commit 2c7eb55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tasks/update-code/s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
s3:
bucket: "{{ ansistrano_s3_bucket }}"
object: "{{ ansistrano_s3_object }}"
dest: "{{ ansistrano_release_path.stdout }}/{{ ansistrano_s3_object }}"
dest: "{{ ansistrano_release_path.stdout }}/{{ ansistrano_s3_object | basename }}"
mode: get
region: "{{ ansistrano_s3_region }}"
aws_access_key: "{{ ansistrano_s3_aws_access_key | default(omit) }}"
Expand Down
2 changes: 1 addition & 1 deletion tasks/update-code/s3_unarchive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

- name: ANSISTRANO | s3_unarchive | Set archived file
set_fact:
ansistrano_archived_file: "{{ ansistrano_release_path.stdout }}/{{ ansistrano_s3_object }}"
ansistrano_archived_file: "{{ ansistrano_release_path.stdout }}/{{ ansistrano_s3_object | basename }}"

- include: unarchive.yml

0 comments on commit 2c7eb55

Please sign in to comment.