fix(workflow): do not continue with the documentation build if the build fails

This commit is contained in:
Seaswimmer 2024-01-16 17:46:58 +00:00
parent 712484986c
commit e069da1cc4
Signed by untrusted user: cswimr
GPG key ID: D74DDDDF420E13DF

View file

@ -39,7 +39,6 @@ jobs:
export SITE_URL="https://$CI_ACTION_REF_NAME_SLUG.seacogs.coastalcommits.com" export SITE_URL="https://$CI_ACTION_REF_NAME_SLUG.seacogs.coastalcommits.com"
export EDIT_URI="src/branch/$CI_ACTION_REF_NAME/.docs" export EDIT_URI="src/branch/$CI_ACTION_REF_NAME/.docs"
mkdocs build -v mkdocs build -v
continue-on-error: true
- name: Deploy documentation - name: Deploy documentation
run: | run: |
@ -63,4 +62,3 @@ jobs:
echo "${GREEN}https://$CI_ACTION_REF_NAME_SLUG.seacogs.coastalcommits.com/" echo "${GREEN}https://$CI_ACTION_REF_NAME_SLUG.seacogs.coastalcommits.com/"
env: env:
GITEA_TOKEN: ${{ secrets.COASTALCOMMITSTOKEN }} GITEA_TOKEN: ${{ secrets.COASTALCOMMITSTOKEN }}
continue-on-error: true