mirror of https://github.com/folke/lazy.nvim.git
ci: fix ci
This commit is contained in:
parent
021de31682
commit
6c17e26def
|
@ -28,6 +28,7 @@ jobs:
|
||||||
./tests/run
|
./tests/run
|
||||||
docs:
|
docs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.ref == 'refs/heads/main' && github.repository_owner == 'folke' }}
|
||||||
needs: tests
|
needs: tests
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
|
@ -40,6 +41,7 @@ jobs:
|
||||||
run: gh workflow run "Deploy to Github Pages" --ref docs
|
run: gh workflow run "Deploy to Github Pages" --ref docs
|
||||||
community:
|
community:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.ref == 'refs/heads/main' && github.repository_owner == 'folke' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install Neovim
|
- name: Install Neovim
|
||||||
|
@ -70,7 +72,7 @@ jobs:
|
||||||
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
|
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
|
||||||
release:
|
release:
|
||||||
name: release
|
name: release
|
||||||
if: ${{ github.ref == 'refs/heads/main' }}
|
if: ${{ github.ref == 'refs/heads/main' && github.repository_owner == 'folke' }}
|
||||||
needs:
|
needs:
|
||||||
- tests
|
- tests
|
||||||
- docs
|
- docs
|
||||||
|
|
Loading…
Reference in New Issue