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:
|
on:
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
schedule:
|
schedule:
|
||||||
- cron: 0 */6 * * *
|
- cron: 0 */6 * * *
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
updateflake:
|
UpdateFlake:
|
||||||
runs-on: native
|
runs-on: native
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- run: |
|
- name: Update flake
|
||||||
|
run: |
|
||||||
cd ${{ env.FORGEJO_WORKSPACE }}
|
cd ${{ env.FORGEJO_WORKSPACE }}
|
||||||
nix flake update
|
nix flake update
|
||||||
- run: |
|
- name: Commit new Flake.lock
|
||||||
|
run: |
|
||||||
git config --local user.email "christoph.hollizeck@hey.com"
|
git config --local user.email "christoph.hollizeck@hey.com"
|
||||||
git config --local user.name "forgjo-actions[bot]"
|
git config --local user.name "forgjo-actions[bot]"
|
||||||
git commit -a -m "chore: update flake"
|
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