www.netz39.de/.github/workflows/jekyll-build.yml

26 lines
615 B
YAML
Raw Normal View History

2023-10-16 01:36:59 +02:00
name: Jekyll Build
on:
pull_request:
2023-10-16 03:49:09 +02:00
branches: [ main ]
2023-10-16 01:36:59 +02:00
jobs:
build:
runs-on: ubuntu-latest
steps:
2024-03-27 00:18:00 +01:00
- uses: actions/checkout@v4
2023-10-16 01:36:59 +02:00
- 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 -R 777 /srv/jekyll && jekyll build --future"
- name: Install packages
continue-on-error: true
run: |
docker pull sylhare/type-on-strap
docker pull sylhare/jekyll