Skip to content

generate_18-062r3

generate_18-062r3 #485

name: generate_18-062r3
on:
schedule:
- cron: '30 13 * * *'
jobs:
build:
runs-on: ubuntu-latest
container: metanorma/metanorma:latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
path: main
- name: checkout other repo
uses: actions/checkout@v3 # checkout the repository content to github runner
with:
repository: opengeospatial/ogcapi-processes
path: 18-062r3
- name: Generate document
run: |
cd 18-062r3
metanorma compile --agree-to-terms -t ogc -x xml,html 18-062.adoc
cp 18-062.html ../main/18-062r3.html
cd ../main
git config --global user.name 'opengeospatial'
git config --global user.email 'opengeospatial@users.noreply.github.com'
git add 18-062r3.html
git commit -am "Automated generation of documents"
git push