diff --git a/.github/workflows/cachix.yml b/.github/workflows/cachix.yml index 47bd48f..624e8c9 100644 --- a/.github/workflows/cachix.yml +++ b/.github/workflows/cachix.yml @@ -3,10 +3,12 @@ name: build-and-cache on: workflow_dispatch: push: + branches: + - main paths-ignore: - - '**/README.md' - - '**/.gitignore' - - '**/assets' + - '.github/**' + - './assets/**' + - '.gitignore' jobs: nix: diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 4dd7870..cea124a 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -1,10 +1,10 @@ -name: "Pull request" +name: "Check validity of flakes" on: pull_request: + workflow_dispatch: push: branches: - main - workflow_dispatch: jobs: nix-flake-check: runs-on: ubuntu-latest diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index ff3153c..9dbd0b7 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -1,5 +1,6 @@ name: Github Pages docs on: + workflow_dispatch: push: branches: - main @@ -25,7 +26,7 @@ jobs: uses: cachix/install-nix-action@v18 - name: Build run: | - nix build '.#docs-html' + nix build '.#docs' cp -r result/share/doc/neovim-flake public - name: Deploy uses: peaceiris/actions-gh-pages@v3