Skip to content

Commit

Permalink
Add cp deploy type
Browse files Browse the repository at this point in the history
  • Loading branch information
gfodor committed Dec 4, 2019
1 parent 1a377eb commit af80a8b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions habitat/hooks/run
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,9 @@ then
$AWSCLI s3 sync --region {{ cfg.deploy.region }} --acl public-read --cache-control "no-cache" --delete "$TEMP_DIST_PATH/pages" "s3://{{ cfg.deploy.target }}/hubs/pages/releases/{{ pkg.version }}.{{ pkg.release }}"
fi

if [[ "{{ cfg.deploy.type }}" == "cp" ]] ;
then
cp -R "$TEMP_DIST_PATH/assets" "{{ cfg.deploy.target }}"
fi

exec sleep 999999999999

0 comments on commit af80a8b

Please sign in to comment.