mirror of
https://github.com/netz39/www.netz39.de.git
synced 2025-01-18 20:10:12 +01:00
Merge pull request #122 from netz39/hotfix/gh-page_build-errors
Second approch how to build with Jekyll
This commit is contained in:
commit
05d5d999ca
2 changed files with 10 additions and 15 deletions
24
.github/workflows/jekyll-gh-pages.yml
vendored
24
.github/workflows/jekyll-gh-pages.yml
vendored
|
@ -35,21 +35,17 @@ jobs:
|
||||||
# with:
|
# with:
|
||||||
# include: "*"
|
# include: "*"
|
||||||
# exclude: ""
|
# exclude: ""
|
||||||
|
- 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: "Setup Ruby"
|
- name: Install packages
|
||||||
uses: ruby/setup-ruby@v1
|
continue-on-error: true
|
||||||
with:
|
run: |
|
||||||
bundler-cache: true
|
docker pull sylhare/type-on-strap
|
||||||
cache-version: 0 # Increment this number if you need to re-download cached gems.
|
docker pull sylhare/jekyll
|
||||||
|
|
||||||
- name: "Setup Pages"
|
|
||||||
id: pages
|
|
||||||
uses: actions/configure-pages@v4
|
|
||||||
|
|
||||||
- name: "Build with Jekyll"
|
|
||||||
run: bundle exec jekyll build --trace --baseurl "${{ steps.pages.outputs.base_path }}"
|
|
||||||
env:
|
|
||||||
JEKYLL_ENV: production
|
|
||||||
|
|
||||||
- name: "Upload artifact"
|
- name: "Upload artifact"
|
||||||
uses: actions/upload-pages-artifact@v3
|
uses: actions/upload-pages-artifact@v3
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
3.3.0
|
|
Loading…
Reference in a new issue