Projects page overhaul #152
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: Beautiful Jekyll CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Build Jekyll | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build the site in the jekyll/builder container | |
run: | | |
export JEKYLL_VERSION=3.8 | |
docker run \ | |
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \ | |
-e PAGES_REPO_NWO=${{ github.repository }} \ | |
jekyll/builder:$JEKYLL_VERSION /bin/bash -c "chmod 777 /srv/jekyll && jekyll build --future" |