chore: update pkgs #981
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "CI" | |
on: | |
push: | |
branches: | |
- main | |
- trying | |
- staging | |
schedule: | |
- cron: "0 0 * * SAT" # every sunday | |
jobs: | |
nix-tests: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: cachix/install-nix-action@v22 | |
with: | |
install_url: https://github.com/numtide/nix-unstable-installer/releases/download/nix-2.13.0pre20221215_26c7602/install | |
extra_nix_config: | | |
experimental-features = nix-command flakes | |
system-features = nixos-test benchmark big-parallel kvm recursive-nix | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: zeek | |
pushFilter: '(-source$|\.tar\.gz$|\.squashfs$)' | |
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
# CI workflows | |
- name: Run Nix Flake Show | |
run: nix flake show | |
- name: Run nvfetcher-github | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
nix develop -c nvfetcher-pkgs | |
- name: Commit changes | |
if: ${{ env.COMMIT_MSG != null }} | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: ${{ env.COMMIT_MSG }} | |
- name: Build Packages | |
run: nix -Lv develop .#mkdoc -c mkdoc | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: ./docs/publish/public |