ci: fix ci

This commit is contained in:
Folke Lemaitre 2024-06-30 07:37:33 +02:00
parent 021de31682
commit 6c17e26def
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 3 additions and 1 deletions

View File

@ -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 }}
@ -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
@ -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