diff --git a/.github/workflows/gh-pages-deploy.yml b/.github/workflows/gh-pages-deploy.yml index 99b59f833..daf989637 100644 --- a/.github/workflows/gh-pages-deploy.yml +++ b/.github/workflows/gh-pages-deploy.yml @@ -1,9 +1,13 @@ name: Deploy examples to GitHub Pages on: + # Runs on new releases publishing push: - branches: - - main + tags: + - v** + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: jobs: build-web5-sdk-kotlin: @@ -40,4 +44,4 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} keep_files: true publish_dir: ./public - full_commit_message: Publish documentation to GitHub pages \ No newline at end of file + full_commit_message: Publish documentation to GitHub pages diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ecf62c7fb..c34d2a8ec 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -43,5 +43,5 @@ jobs: with: tag_name: v${{ github.event.inputs.version }} draft: false - prerelease: true + prerelease: false generate_release_notes: true