From b27ecf1c09d686c81893ddead727dd15eec5b143 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Sat, 21 Mar 2020 14:37:46 -0700 Subject: [PATCH] Only deploy site during linux run of CI build type: development --- .github/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 2843eca..b569b20 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -74,11 +74,11 @@ jobs: - name: Build Book run: mdbook build book --dest-dir ../www/book - name: Record Git Revision - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/master' && matrix.os != 'ubuntu-latest' run: git rev-parse --verify HEAD > www/head.txt - name: Deploy Pages uses: peaceiris/actions-gh-pages@v3 - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/master' && matrix.os != 'ubuntu-latest' with: github_token: ${{secrets.GITHUB_TOKEN}} publish_branch: gh-pages