diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml index 26adbcc..fbf142c 100644 --- a/.github/workflows/jekyll-gh-pages.yml +++ b/.github/workflows/jekyll-gh-pages.yml @@ -35,21 +35,17 @@ jobs: # with: # include: "*" # exclude: "" - - - 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: 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 - name: "Upload artifact" uses: actions/upload-pages-artifact@v3 diff --git a/.ruby-version b/.ruby-version deleted file mode 100644 index 15a2799..0000000 --- a/.ruby-version +++ /dev/null @@ -1 +0,0 @@ -3.3.0