diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index d56aa3a..ca32c30 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -23,7 +23,10 @@ jobs: environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest] steps: - name: Checkout uses: actions/checkout@v4 @@ -50,10 +53,12 @@ jobs: run: make docs - name: Upload artifact + if: runner.os == 'ubuntu-latest' uses: actions/upload-artifact@v4 with: path: docs - name: Deploy to GitHub Pages + if: runner.os == 'ubuntu-latest' id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4