Skip to content
name: Release a new version of the Git book.
on:
release:
types:
- published
jobs:
release_update_citation_file:
uses: ./.github/workflows/release-update-citation-file.yml
release_validate_citation_file:
uses: ./.github/workflows/commit-cffconvert.yml
needs: release_update_citation_file
release_zenodo_deposit:
uses: ./.github/workflows/release-zenodo-deposit.yml
needs: release_validate_citation_file
secrets:
ZENODO_ACCESS_TOKEN: ${{ secrets.ZENODO_ACCESS_TOKEN }}
# ZENODO_SANDBOX_ACCESS_TOKEN: ${{ secrets.ZENODO_SANDBOX_ACCESS_TOKEN }}
reconcile_mkdocs:
needs: release_zenodo_deposit
uses: ./.github/workflows/release-update-mkdocs-citation.yml
update_doi_syllabus:
needs:
- reconcile_mkdocs
uses: ./.github/workflows/helper-update-dois-in-content.yml
update_doi_in_pptx:
needs: update_doi_syllabus
uses: ./.github/workflows/helper-update-doi-pptx.yml
release_update_latest_docs_version:
uses: ./.github/workflows/commit-publish-docs.yml
needs: update_doi_in_pptx
release_create_mike_release:
uses: ./.github/workflows/release-mkdocs-version.yml
needs:
- release_update_citation_file
- release_update_latest_docs_version
with:
RESOURCE_VERSION: ${{ needs.release_update_citation_file.outputs.RESOURCE_VERSION }}