diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b569b20..4f29519 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' && matrix.os != 'ubuntu-latest' + 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' && matrix.os != 'ubuntu-latest' + if: github.ref == 'refs/heads/master' && matrix.os == 'ubuntu-latest' with: github_token: ${{secrets.GITHUB_TOKEN}} publish_branch: gh-pages