-
Notifications
You must be signed in to change notification settings - Fork 3
52 lines (49 loc) · 1.64 KB
/
process-building-blocks.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Process Building Blocks
on:
push:
branches: [master]
workflow_dispatch:
schedule:
- cron: 0 4 * * 0
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: Update submodules
run: git submodule update --recursive --remote
- name: OGC BB postprocess
uses: opengeospatial/bblocks-postprocess/full@v1
with:
items_dir: registereditems
register_file: register.json
generated_docs_path: generateddocs
annotated_path: annotated-schemas
base_url: https://${{ github.event.repository.owner.login }}.github.io/${{github.event.repository.name}}/
fail_on_error: 'false'
clean: 'true'
test_outputs_path: tests
- name: Add & Commit
if: ${{ !endsWith(github.repository, '/bblock-template') }}
uses: EndBug/add-and-commit@v9
with:
message: Building blocks postprocessing
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: 3.x
- name: Entail, validate and upload BBR
env:
DB_USERNAME: ${{ secrets.UPLOAD_GRAPH_STORE_USERNAME }}
DB_PASSWORD: ${{ secrets.UPLOAD_GRAPH_STORE_PASSWORD }}
run: |
python -m pip install -U pip
python -m pip install ogc-na setuptools
python -m ogc.na.update_vocabs .catalog.ttl -m bblocks.ttl \
--update --graph-store ${{ vars.UPLOAD_GRAPH_STORE_URL }}
deploy-gh-pages:
needs: build
uses: ./.github/workflows/deploy-gh-pages.yml