Skip to content

.github/workflows/version.yml #202

.github/workflows/version.yml

.github/workflows/version.yml #202

Workflow file for this run

---
"on":
schedule:
# 18:00 on Friday
- cron: 0 18 * * 5
workflow_dispatch:
# https://github.com/softprops/action-gh-release/issues/236
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
- uses: cachix/install-nix-action@v23
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
extra_nix_config: |
experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Check update
run: |
nix run 'nixpkgs#nvfetcher'
git add _sources/generated.nix
- uses: stefanzweifel/git-auto-commit-action@v5