Skip to content

Update Org schema and page presentation #19

Update Org schema and page presentation

Update Org schema and page presentation #19

Workflow file for this run

name: Publish gh-pages
on:
workflow_dispatch:
push:
branches:
- "main"
paths-ignore:
- "docs/**"
# GITHUB_TOKEN permissions to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
# TODO: Change to use a Dockerfile to build an image which will install Ruby and dependencies for build step
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.
bundler-cache: true
- name: Install dependencies
run: |
gem install bundler
bundle install
- name: Compile Markdown to HTML and create artifact
run: |
ENVIRONMENT=production ./scripts/package.sh
- name: Upload artifact to be published
uses: actions/upload-artifact@v4
with:
name: github-pages
path: ./artifact.tar
retention-days: 1
deploy:
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4