#!/bin/bash

set -e

echo "$GITHUB_PRIVATE_KEY" > github.key
chmod 600 github.key
export GIT_SSH_COMMAND="/usr/bin/ssh -i $PWD/github.key"

set -x

pushd lattice-website >/dev/null
  bundle install
  apt-get install node -y --no-install-recommends

  bundle exec middleman build
  bundle exec middleman deploy
popd >/dev/null

#!/bin/bash

set -e

echo "$GITHUB_PRIVATE_KEY" > github.key
chmod 600 github.key
export GIT_SSH_COMMAND="/usr/bin/ssh -i $PWD/github.key"

set -x

git config --global user.email "pivotal-lattice-eng@pivotal.io"
git config --global user.name "Concourse CI"

pushd lattice-website >/dev/null
  bundle install
  apt-get install node -y --no-install-recommends

  bundle exec middleman build
  bundle exec middleman deploy
popd >/dev/null

Configure git email and name for deploy-lattice-website
Configure git email and name for deploy-lattice-website

[#103740070]

Signed-off-by: Mark DeLillo <cb16bf7df25dbf84b90c1f94696c8a91f946dc1d@pivotal.io>
