From b26cde09eb58ea219e3b854106b2d555401b9d0d Mon Sep 17 00:00:00 2001 From: Adrian Filip Date: Fri, 7 Oct 2022 14:43:18 +0300 Subject: [PATCH] Microsite is updated based on docs tag (#67) * Microsite is updated only when pushing docs.* tags in master branch --- .github/workflows/site.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml index 11c9f4a7..bbdef9a2 100644 --- a/.github/workflows/site.yml +++ b/.github/workflows/site.yml @@ -22,7 +22,7 @@ jobs: - run: | ./scripts/createSite.sh ${{ github.ref }} - name: Release to GitHub Pages - if: github.event_name != 'pull_request' + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/docs.') uses: JamesIves/github-pages-deploy-action@v4.4.0 with: branch: gh-pages