diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index bbd10e5..c4a9466 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -1,10 +1,10 @@ name: Build and Deploy Docs -# Deploy docs only for master +# Deploy docs when a new release is published or manually on: - push: - branches: - - "master" + release: + types: [published] + workflow_dispatch: # Allow deployment to GitHub Pages permissions: @@ -48,4 +48,4 @@ jobs: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v4