nix flake update #4
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: nix flake update | |
on: | |
schedule: | |
- cron: "0 0 * * 5" | |
workflow_dispatch: | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cachix/install-nix-action@v20 | |
with: | |
gitub_access_token: ${{ secrets.GITHUB_TOKEN }} | |
- run: nix flake update | |
- name: commit and push | |
run: | | |
git config user.name 'GitHub Actions' | |
git config user.email '[email protected]' | |
git add flake.lock | |
git commit -am "nix flake update" | |
git push |