Skip to content

Merge pull request #93 from opengeospatial/chris-little-EditorialTypos #256

Merge pull request #93 from opengeospatial/chris-little-EditorialTypos

Merge pull request #93 from opengeospatial/chris-little-EditorialTypos #256

Workflow file for this run

name: generate
on:
push:
branches: [ main, master ]
pull_request:
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
container:
image: metanorma/metanorma:latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Cache Metanorma assets
uses: actions-mn/cache@v1
- name: Metanorma generate site
uses: actions-mn/build-and-publish@v1
with:
agree-to-terms: true
token: ${{ secrets.GITHUB_TOKEN }}
deploy:
if: github.ref == github.event.repository.default_branch
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