Skip to content

generate_18-067

generate_18-067 #365

name: generate_18-067
on:
schedule:
- cron: '1 9 * * *'
jobs:
build:
runs-on: ubuntu-latest
container: metanorma/metanorma:1.6.4
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/styles-and-symbology
path: 18-067
- name: Generate document
run: |
cd 18-067/core
metanorma compile --agree-to-terms -t ogc -x xml,html,pdf 18-067r4.adoc
cp 18-067r4.html ../../main/18-067r4.html
cp 18-067r4.pdf ../../main/18-067r4.pdf
cd ../../main
git config --global user.name 'opengeospatial'
git config --global user.email 'opengeospatial@users.noreply.github.com'
git add 18-067r4.html 18-067r4.pdf
git commit -am "Automated generation of documents"
git push