Skip to content

Workflow file for this run

on:
push:
branches:
- master
jobs:
gh-pages-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the site in the jekyll/builder container
run: |
docker run \
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
jekyll/builder:latest /bin/bash -c "chmod 777 /srv/jekyll && chmod 666 /srv/jekyll/Gemfile.lock && jekyll build --future"
# - name: Set up Ruby
# uses: actions/setup-ruby@v1
# with:
# bundler-cache: true
# - name: bundle install
# run: |
# bundle config set path 'vendor/bundle'
# bundle install
# - name: Jekyll Build
# run: bundle exec jekyll build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site