Skip to content

Commit

Permalink
ci: merge docs workflow fixes from dev
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Sep 7, 2023
1 parent f326c4b commit f079e4e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ jobs:
build_openapi_json:
name: Build OpenAPI
runs-on: ubuntu-latest
container: ghcr.io/hotosm/fmtm/backend:ci-main
container:
image: ghcr.io/hotosm/fmtm/backend:ci-main
options: --user root

steps:
- name: Checkout repository
Expand All @@ -60,13 +62,14 @@ jobs:
- name: Build OpenAPi JSON
run: |
cd src/backend
python ../../scripts/gen_openapi_json.py -o ../../docs/openapi.json
gosu appuser python scripts/gen_openapi_json.py -o docs/openapi.json
publish_docs:
name: Publish Docs
runs-on: ubuntu-latest
container: ghcr.io/hotosm/fmtm/backend:ci-main
container:
image: ghcr.io/hotosm/fmtm/backend:ci-main
options: --user root
needs: [build_doxygen, build_openapi_json]

steps:
Expand All @@ -86,5 +89,4 @@ jobs:
- name: Publish
run: |
cd src/backend
mkdocs gh-deploy --config-file=../../mkdocs.yml --force
gosu appuser mkdocs gh-deploy --force
2 changes: 1 addition & 1 deletion docs/About.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![](images/hot_logo.png)
![](https://github.com/hotosm/fmtm/blob/main/images/hot_logo.png?raw=true)

# Field Mapping Tasking Manager (FMTM)

Expand Down

0 comments on commit f079e4e

Please sign in to comment.