Skip to content

Define rules for markdown #35

Define rules for markdown

Define rules for markdown #35

Workflow file for this run

# Based on https:/actions/starter-workflows/blob/main/pages/jekyll.yml
name: Build
on:
# Runs on pushes targeting the main branch
push:
branches:
- main
# Allows you to run workflow manually from the actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment of GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1' # 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 cache gems
- name: Setup Pages
id: pages
uses: actions/configure-pages@v1
- run: JEKYLL_ENV=production bundle exec jekyll build --baseurl ${{steps.pages.outputs.base_path}} # defaults output to '/_site'
- name: Upload Artifact
uses: actions/upload-pages-artifact@v1 # This will automatically upload an artifact from the '/_site' directory
# Deployment job
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@v1