Embed presentation
Download to read offline






![#!/usr/bin/env bash
set -e
if [[ "false" != "$TRAVIS_PULL_REQUEST" ]]; then
echo "Not deploying pull requests."
exit
fi
if [[ "master" != "$TRAVIS_BRANCH" ]]; then
echo "Not on the 'master' branch."
exit
fi
bundle install --path vendor/bundle
bundle exec s3_website push --site . > /dev/null 2>&1](https://image.slidesharecdn.com/wctokyo02-151101001903-lva1-app6891/75/I-love-Automation-7-2048.jpg)











This document discusses automation tools for deploying and configuring WordPress sites including Travis CI, AWS S3, Cloudfront, WP-CLI, and infrastructure testing with serverspec. It provides commands for installing WordPress with WP-CLI, configuring permalinks and options, and using serverspec to test that Jetpack is installed and the permalink structure is set correctly.






![#!/usr/bin/env bash
set -e
if [[ "false" != "$TRAVIS_PULL_REQUEST" ]]; then
echo "Not deploying pull requests."
exit
fi
if [[ "master" != "$TRAVIS_BRANCH" ]]; then
echo "Not on the 'master' branch."
exit
fi
bundle install --path vendor/bundle
bundle exec s3_website push --site . > /dev/null 2>&1](https://image.slidesharecdn.com/wctokyo02-151101001903-lva1-app6891/75/I-love-Automation-7-2048.jpg)









