Skip to content

CD - Release

CD - Release #2

Workflow file for this run

name: CD - Release
on:
release:
types:
- published
jobs:
publish-docs:
name: External
uses: SINTEF/ci-cd/.github/workflows/cd_release.yml@v2.7.1
if: github.repository == 'CasperWA/turtle-canon' && startsWith(github.ref, 'refs/tags/v')
with:
# General
git_username: CasperWA
git_email: "casper.w.andersen@sintef.no"
release_branch: main
# Python package
python_package: true
package_dirs: turtle_canon
install_extras: "[dev]"
python_version_build: "3.10"
version_update_changes: |
README.md,latest stable version is \*\*.*\*\*\.,latest stable version is **{version}**.
build_libs: build
build_cmd: "python -m build"
changelog_exclude_labels: skip_changelog,duplicate,question,invalid,wontfix
publish_on_pypi: false
# Documentation
update_docs: true
python_version_docs: "3.10"
doc_extras: "[docs]"
docs_framework: "mkdocs"
mkdocs_update_latest: true
secrets:
PAT: ${{ secrets.RELEASE_PAT }}