diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 4e8518659..918d6baa3 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -35,7 +35,7 @@ jobs: path: site retention-days: 7 - name: Deploy to pages - if: ${{ github.ref_name == 'main' }} + if: ${{ github.ref_name == 'main' || github.event_name == 'release'}} uses: JamesIves/github-pages-deploy-action@132898c54c57c7cc6b80eb3a89968de8fc283505 # 3.7.1 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}