Skip to content

v0.1.9

v0.1.9 #35

Workflow file for this run

# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: GitHub Pages
concurrency:
cancel-in-progress: false
group: ${{ github.workflow }}-${{ github.ref }}
on:
pull_request:
branches: [ main, master ]
types: [ opened, synchronize, reopened ]
paths:
- .artifacts/docs/**
push:
branches: [ main, master ]
tags: [ latest, v*, "*-nightly" ]
repository_dispatch:
types: [ pages ]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Setup Ruby
# https://github.com/ruby/setup-ruby/releases/tag/v1.207.0
uses: ruby/setup-ruby@4a9ddd6f338a97768b8006bf671dfbad383215f4
with:
ruby-version: '3.3.4' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
-
name: Setup Pages
id: pages
uses: actions/configure-pages@v5
-
name: Build with Jekyll
# Outputs to the './_site' directory by default
run: |
cd .artifacts/docs
bundle install
bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
-
name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v3
with:
path: .artifacts/docs/_site
deploy:
runs-on: ubuntu-latest
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
-
name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4