This repository was archived by the owner on Mar 26, 2026. It is now read-only.
jekyll ci #153
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Jekyll site CI | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: docker/setup-compose-action@v2 | |
| - name: Setup Pages | |
| uses: actions/configure-pages@v5 | |
| - name: Build the site in the jekyll/builder container | |
| run: | | |
| export BINARIES_DIRECTORY="${{ github.workspace }}/_site" | |
| export SOURCES_DIRECTORY="${{ github.workspace }}" | |
| mkdir -p "$BINARIES_DIRECTORY" | |
| docker-compose -f docker-compose-ci.yml up --abort-on-container-exit --exit-code-from ci | |
| - name: Upload GitHub Pages artifact | |
| uses: actions/upload-pages-artifact@v4 | |
| deploy: | |
| environment: | |
| name: github-pages | |
| url: ${{steps.deployment.outputs.page_url}} | |
| runs-on: ubuntu-latest | |
| needs: build | |
| steps: | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v4 | |