Compare commits
2 commits
23a176df14
...
b696c376ff
Author | SHA1 | Date | |
---|---|---|---|
b696c376ff | |||
839b86dd7b |
1 changed files with 9 additions and 8 deletions
|
@ -1,21 +1,22 @@
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
on:
|
||||
schedule:
|
||||
- cron: 0 */6 * * *
|
||||
|
||||
jobs:
|
||||
updateflake:
|
||||
UpdateFlake:
|
||||
runs-on: native
|
||||
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- run: |
|
||||
- name: Update flake
|
||||
run: |
|
||||
cd ${{ env.FORGEJO_WORKSPACE }}
|
||||
nix flake update
|
||||
- run: |
|
||||
- name: Commit new Flake.lock
|
||||
run: |
|
||||
git config --local user.email "christoph.hollizeck@hey.com"
|
||||
git config --local user.name "forgjo-actions[bot]"
|
||||
git commit -a -m "chore: update flake"
|
||||
- run: git push
|
||||
- name: Push changes
|
||||
run: git push
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue