Merge pull request #122 from netz39/hotfix/gh-page_build-errors

Second approch how to build with Jekyll
This commit is contained in:
Max 2024-03-27 01:55:56 +01:00 committed by GitHub
commit 05d5d999ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 15 deletions

View file

@ -35,21 +35,17 @@ jobs:
# with:
# include: "*"
# 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"
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
cache-version: 0 # Increment this number if you need to re-download cached gems.
- 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: Install packages
continue-on-error: true
run: |
docker pull sylhare/type-on-strap
docker pull sylhare/jekyll
- name: "Upload artifact"
uses: actions/upload-pages-artifact@v3

View file

@ -1 +0,0 @@
3.3.0