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

19 lines
464 B
YAML
Raw Normal View History

2024-03-27 01:21:38 +01:00
name: Test build (Jekyll)
2023-10-16 01:36:59 +02:00
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"