forked from FAIR-by-Design-Methodology/templates
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (37 loc) · 1.33 KB
/
coordinate-release.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
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 }}