Improve update workflow
All checks were successful
All checks were successful
This commit is contained in:
parent
27b98a8b7a
commit
cee468a36a
3
.github/workflows/flake-update.yaml
vendored
3
.github/workflows/flake-update.yaml
vendored
@ -14,12 +14,13 @@ jobs:
|
|||||||
image: ghcr.io/catthehacker/ubuntu:runner-latest
|
image: ghcr.io/catthehacker/ubuntu:runner-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: master
|
||||||
- uses: cachix/install-nix-action@v27
|
- uses: cachix/install-nix-action@v27
|
||||||
- name: configure git
|
- name: configure git
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name 'torjus-bot'
|
git config --global user.name 'torjus-bot'
|
||||||
git config --global user.email 'torjus-bot@git.t-juice.club'
|
git config --global user.email 'torjus-bot@git.t-juice.club'
|
||||||
git pull
|
|
||||||
- name: flake update
|
- name: flake update
|
||||||
run: nix flake update --commit-lock-file
|
run: nix flake update --commit-lock-file
|
||||||
- name: push
|
- name: push
|
||||||
|
Loading…
Reference in New Issue
Block a user