diff --git a/.github/workflows/release-docs.yaml b/.github/workflows/release-docs.yaml new file mode 100644 index 00000000..3c773409 --- /dev/null +++ b/.github/workflows/release-docs.yaml @@ -0,0 +1,18 @@ +name: Documentation release +on: + push: + tags: + # These tags should be protected, remember to enable the rule: + # https://github.com/canonical/starbase/settings/tag_protection + - "[0-9]+.[0-9]+.[0-9]+" + +jobs: + docs-release: + permissions: + contents: write + uses: canonical/starflow/.github/workflows/release-docs.yaml@main + with: + # TODO: set to your Read the Docs project slug. + rtd-project: starbase + secrets: + RTD_TOKEN: ${{ secrets.RTD_TOKEN }}