From 7aada59486c65a5da09f4be1578fd06203449156 Mon Sep 17 00:00:00 2001 From: Toni Kangas Date: Thu, 4 Apr 2024 13:26:25 +0300 Subject: [PATCH] fix: also deploy docs on new releases (#301) --- .github/workflows/docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}