Skip to content

Merge branch 'master' of https://github.com/taylorgibb/taylorgibb.git… #20

Merge branch 'master' of https://github.com/taylorgibb/taylorgibb.git…

Merge branch 'master' of https://github.com/taylorgibb/taylorgibb.git… #20

Workflow file for this run

name: Build and Deploy
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 🛎 Check out master
uses: actions/checkout@master
with:
fetch-depth: 1
- name: 🎩 Install Jekyll
run: |
sudo gem install bundler:2.2.34 jekyll
sudo bundle _2.2.34_ install
- name: 🧹 Clean site
run: |
if [ -d "_site" ]; then
rm -rf _site/*
fi
- name: 🔨 Build site
run: bundle exec jekyll build
- name: 🧪 Deploy build
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git add .
git commit -am "[skip ci] Deploy with ${GITHUB_WORKFLOW}"
git push --all -f https://${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git