Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions .github/workflows/automerge.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/workflows/docker-pres_xml.yml

This file was deleted.

67 changes: 0 additions & 67 deletions .github/workflows/docker.yml

This file was deleted.

56 changes: 56 additions & 0 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: generate

on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write
packages: read

concurrency:
group: "pages"
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
container:
image: metanorma/metanorma:latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true

- name: Cache Metanorma assets
uses: actions-mn/cache@v1

# - name: Setup Flavor
# uses: actions-mn/setup-flavors@v1
# with:
# extra-flavors: nist
# github-packages-token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
# use-bundler: true

- name: Metanorma generate site
uses: actions-mn/build-and-publish@v2
with:
agree-to-terms: true
destination: gh-pages

deploy:
if: ${{ github.ref == 'refs/heads/main' }}
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
46 changes: 0 additions & 46 deletions .github/workflows/macos.yml

This file was deleted.

73 changes: 0 additions & 73 deletions .github/workflows/test.yml

This file was deleted.

45 changes: 0 additions & 45 deletions .github/workflows/ubuntu.yml

This file was deleted.

40 changes: 0 additions & 40 deletions .github/workflows/windows.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "unitsdb"]
path = unitsdb
url = https://github.com/unitsml/unitsdb
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source "https://rubygems.org"

gem "metanorma-cli"
gem "metanorma-nist"
# gem "metanorma-nist", source: "https://rubygems.pkg.github.com/metanorma"
Loading