From cbd91b32e6ef86b07aef69b25a2da48d7b82d89f Mon Sep 17 00:00:00 2001 From: Javier Chavarri Date: Mon, 23 Oct 2023 15:29:18 +0000 Subject: [PATCH] only deploy on linux --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f0d2475..a6e4c39 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,8 +45,8 @@ jobs: - name: Build example run: make build-example - - name: Deploy - if: github.ref == 'refs/heads/main' + - name: Deploy (Linux only) + if: github.ref == 'refs/heads/main' && matrix.system == 'ubuntu-latest' uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }}