box: blisteringherb/scholarship@0.0.6
build:
    # The steps that will be executed on build
    steps:
      - script:
          name: Update apt
          code: sudo apt-get update
      - script:
          name: Install libnotify
          code: sudo apt-get install libnotify-bin
      - script:
          name: Update Composer
          code: sudo composer self-update
      - leipert/composer-install@0.0.1
      - script:
          name: npm install
          code: |-
            sudo npm install -g npm
            npm -v
            mkdir -p $WERCKER_CACHE_DIR/wercker/npm
            npm config set cache $WERCKER_CACHE_DIR/wercker/npm
            sudo npm install
      - wercker/bundle-install@1.1.1
      - script:
          name: build assets
          code: gulp --production

deploy:
  steps:
    - bundle-install
    - script:
        name: Make all files readable
        code: find . -type f -exec chmod 644 {} \;
    - script:
        name: write private key env var
        code: |-
          export CAP_PRIVATE_KEY=`mktemp`
          echo -e $WERCKER_APP_KEY_PRIVATE > $CAP_PRIVATE_KEY
    - cap
  after-steps:
    - iansmith9876/pretty-slack-notify:
        team: dosomething
        token: $SLACK_TOKEN
        channel: $SLACK_ROOM
        username: george

box: blisteringherb/scholarship@0.0.6
build:
    # The steps that will be executed on build
    steps:
      - script:
          name: Update apt
          code: sudo apt-get update
      - script:
          name: Install libnotify
          code: sudo apt-get install libnotify-bin
      - script:
          name: Update Composer
          code: sudo composer self-update
      - leipert/composer-install@0.0.1
      - script:
          name: npm install
          code: |-
            sudo npm install -g npm
            npm -v
            mkdir -p $WERCKER_CACHE_DIR/wercker/npm
            npm config set cache $WERCKER_CACHE_DIR/wercker/npm
            sudo npm install
      - wercker/bundle-install@1.1.1
      - script:
          name: build assets
          code: |-
            export NODE_ENV=production
            gulp --production

deploy:
  steps:
    - bundle-install
    - script:
        name: Make all files readable
        code: find . -type f -exec chmod 644 {} \;
    - script:
        name: write private key env var
        code: |-
          export CAP_PRIVATE_KEY=`mktemp`
          echo -e $WERCKER_APP_KEY_PRIVATE > $CAP_PRIVATE_KEY
    - cap
  after-steps:
    - iansmith9876/pretty-slack-notify:
        team: dosomething
        token: $SLACK_TOKEN
        channel: $SLACK_ROOM
        username: george

Set production environment for build.
Set production environment for build.
