mirror of
https://github.com/netz39/www.netz39.de.git
synced 2025-01-19 12:20:12 +01:00
28 lines
652 B
YAML
28 lines
652 B
YAML
|
name: Jekyll Build
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches: [ master ]
|
||
|
pull_request:
|
||
|
branches: [ master ]
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v3
|
||
|
- 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
|
||
|
|