mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 23:16:46 +00:00
dev: should reduce CI build times
This commit is contained in:
parent
7db1f6779c
commit
6694b65c82
3 changed files with 9 additions and 6 deletions
8
.github/workflows/cachix.yml
vendored
8
.github/workflows/cachix.yml
vendored
|
@ -3,10 +3,12 @@ name: build-and-cache
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '**/README.md'
|
- '.github/**'
|
||||||
- '**/.gitignore'
|
- './assets/**'
|
||||||
- '**/assets'
|
- '.gitignore'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
nix:
|
nix:
|
||||||
|
|
4
.github/workflows/check.yml
vendored
4
.github/workflows/check.yml
vendored
|
@ -1,10 +1,10 @@
|
||||||
name: "Pull request"
|
name: "Check validity of flakes"
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
workflow_dispatch:
|
|
||||||
jobs:
|
jobs:
|
||||||
nix-flake-check:
|
nix-flake-check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
3
.github/workflows/manual.yml
vendored
3
.github/workflows/manual.yml
vendored
|
@ -1,5 +1,6 @@
|
||||||
name: Github Pages docs
|
name: Github Pages docs
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
@ -25,7 +26,7 @@ jobs:
|
||||||
uses: cachix/install-nix-action@v18
|
uses: cachix/install-nix-action@v18
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
nix build '.#docs-html'
|
nix build '.#docs'
|
||||||
cp -r result/share/doc/neovim-flake public
|
cp -r result/share/doc/neovim-flake public
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
|
|
Loading…
Reference in a new issue