Merge branch 'master' of https://github.com/ChrisFiola/chrisfiola.git… #238
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Deploy | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@master | |
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." | |
- name: Install dependencies and build | |
run: | | |
sudo gem install jekyll bundler | |
bundle install | |
bundle update jekyll | |
export JEKYLL_ENV=production | |
bundle exec jekyll build | |
echo "🍏 This job's status is ${{ job.status }}." | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: docs |