Skip to content

Commit

Permalink
fix(grunt): missing deploy environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Nov 10, 2016
1 parent 5696eb5 commit bb3d6a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ module.exports = (grunt) ->

# Copy compiled static files to local directory for further post-process
amsf__deploy__sparanoid__copy_to_local:
command: "rsync -avz --delete --progress <%= config.deploy.rsync.params %> <%= jekyll.dist.options.dest %>/ <%= config.deploy.s3_website.#{deploy_env}.dest %>/site/<%= config.base %> > deploy-s3_website-#{deploy_env}.log"
command: "rsync -avz --delete --progress <%= config.deploy.rsync.#{deploy_env}.params %> <%= jekyll.dist.options.dest %>/ <%= config.deploy.s3_website.#{deploy_env}.dest %>/site/<%= config.base %> > deploy-s3_website-#{deploy_env}.log"

# Auto commit untracked files sync'ed from sync_local
amsf__deploy__sparanoid__auto_commit:
Expand Down
2 changes: 1 addition & 1 deletion _deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ rsync:
dest: /srv/www/sparanoid.com/public_html
# Extra rsync parameters
# I use `--rsync-path` here to run `rsync` with sudo permission.
params: --rsync-path="sudo rsync"
params: --rsync-path="sudo rsync" --exclude=lab

s3_website:
default:
Expand Down

0 comments on commit bb3d6a7

Please sign in to comment.