This repository has been archived by the owner on Oct 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #457 from hotosm/ci/test-failure-signals
Correctly handle exit signal on ci test pass/fail
- Loading branch information
Showing
8 changed files
with
54 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ on: | |
|
||
jobs: | ||
underpass-ci-build: | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].0 | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected].1 | ||
with: | ||
dockerfile: docker/underpass.dockerfile | ||
scan_dockerfile: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,29 +4,12 @@ on: | |
push: | ||
paths: | ||
- docs/** | ||
- src/** | ||
- mkdocs.yml | ||
branches: | ||
- master | ||
|
||
permissions: | ||
contents: write | ||
branches: [master] | ||
# Allow manual trigger (workflow_dispatch) | ||
workflow_dispatch: | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.x | ||
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV | ||
|
||
|
||
- uses: actions/cache@v3 | ||
with: | ||
key: mkdocs-material-${{ env.cache_id }} | ||
path: .cache | ||
restore-keys: | | ||
mkdocs-material- | ||
- run: pip install mkdocs-material mkdocs-exclude mkdocstrings | ||
- run: mkdocs gh-deploy --force | ||
publish_docs: | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,19 +11,22 @@ jobs: | |
uses: hotosm/gh-workflows/.github/workflows/[email protected] | ||
with: | ||
dockerfile: docker/underpass.dockerfile | ||
scan_dockerfile: false | ||
build_target: prod | ||
image_name: ghcr.io/${{ github.repository }} | ||
|
||
api-build: | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected] | ||
with: | ||
dockerfile: docker/underpass-api.dockerfile | ||
scan_dockerfile: false | ||
build_target: prod | ||
image_name: ghcr.io/${{ github.repository }}/api | ||
|
||
ui-build: | ||
uses: hotosm/gh-workflows/.github/workflows/[email protected] | ||
with: | ||
dockerfile: docker/underpass-ui.dockerfile | ||
scan_dockerfile: false | ||
build_target: prod | ||
image_name: ghcr.io/${{ github.repository }}/ui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters