Skip to content

Commit

Permalink
ci: fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jun 30, 2024
1 parent 021de31 commit 6c17e26
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
./tests/run
docs:
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/main' && github.repository_owner == 'folke' }}
needs: tests
env:
GH_TOKEN: ${{ github.token }}
Expand All @@ -40,6 +41,7 @@ jobs:
run: gh workflow run "Deploy to Github Pages" --ref docs
community:
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/main' && github.repository_owner == 'folke' }}
steps:
- uses: actions/checkout@v4
- name: Install Neovim
Expand Down Expand Up @@ -70,7 +72,7 @@ jobs:
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
release:
name: release
if: ${{ github.ref == 'refs/heads/main' }}
if: ${{ github.ref == 'refs/heads/main' && github.repository_owner == 'folke' }}
needs:
- tests
- docs
Expand Down

0 comments on commit 6c17e26

Please sign in to comment.