Skip to content

Upgrade to latest jekyll version #55

Upgrade to latest jekyll version

Upgrade to latest jekyll version #55

Workflow file for this run

name: Jekyll site CI
on:
push:
branches: [ main ]
paths-ignore:
- "LICENSE"
- "README.md"
- "Dockerfile"
- "local_run.sh"
- "jekyll.thor"
pull_request:
branches: [ main ]
paths-ignore:
- "LICENSE"
- "README.md"
- "Dockerfile"
- "local_run.sh"
- "jekyll.thor"
env:
RUBY_VERSION: 2.6.3
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build the site in the jekyll/builder container
run: |
docker run \
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
jvconseil/jekyll-docker:4.3.3 /bin/bash -c "chmod -R 777 /srv/jekyll && jekyll build --future"
- uses: actions/upload-artifact@v4
if: success() && github.ref == 'refs/heads/main'
with:
name: website-source
path: ./_site
- uses: jakejarvis/s3-sync-action@master
if: success() && github.ref == 'refs/heads/main'
with:
args: --acl public-read --follow-symlinks --delete
env:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
SOURCE_DIR: '_site'