diff --git a/.github/workflows/dist-releasae.yml b/.github/workflows/dist-release.yml similarity index 95% rename from .github/workflows/dist-releasae.yml rename to .github/workflows/dist-release.yml index 907227aa..a1cedaff 100644 --- a/.github/workflows/dist-releasae.yml +++ b/.github/workflows/dist-release.yml @@ -11,6 +11,8 @@ on: paths-ignore: - 'docs/**' # Ignore changes in the docs folder for pushes - '.github' # Ignore changes in the .github folder for pushes + tags: + - 'v*' # only release a versioned tag, such as v.X.Y.Z jobs: release: diff --git a/.github/workflows/docs-release.yml b/.github/workflows/docs-release.yml index 35c45dba..e51d40a2 100644 --- a/.github/workflows/docs-release.yml +++ b/.github/workflows/docs-release.yml @@ -5,6 +5,8 @@ on: branches: ['master'] paths: - 'docs/**' # Trigger when files inside docs folder are changed + tags: + - 'v*' # only release a versioned tag, such as v.X.Y.Z pull_request: paths: - 'docs/**' # Trigger when docs are changed within a pull request