Skip to content

Remove avatar function and add new blog post #18

Remove avatar function and add new blog post

Remove avatar function and add new blog post #18

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 jekyll
sudo bundle 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