diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5537186..a99f14c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,8 +1,5 @@ name: ci -on: - push: - branches: - - main +on: push permissions: contents: write jobs: @@ -14,6 +11,7 @@ jobs: - name: Check Links uses: byrnereese/github-action-mkdocs-link-check@v1 deploy: + if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4