try to fix the git push frogejo action
This commit is contained in:
parent
854b7b6c19
commit
31486c0e2d
1 changed files with 3 additions and 10 deletions
|
@ -17,15 +17,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
depth: 0
|
depth: 0
|
||||||
|
|
||||||
- name: checkout repository (branch update)
|
- name: update nix flakes
|
||||||
if: github.event_name == 'schedule'
|
#if: github.event_name == 'schedule'
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
ref: "update"
|
|
||||||
depth: 0
|
|
||||||
|
|
||||||
- name: update nix flakes (branch update)
|
|
||||||
if: github.event_name == 'schedule'
|
|
||||||
run: |
|
run: |
|
||||||
cat <<EOF > .ssh_key
|
cat <<EOF > .ssh_key
|
||||||
${{ secrets.SSH_KEY }}
|
${{ secrets.SSH_KEY }}
|
||||||
|
@ -71,7 +64,7 @@ jobs:
|
||||||
run: nix build .#nixosConfigurations.chungus.config.system.build.toplevel
|
run: nix build .#nixosConfigurations.chungus.config.system.build.toplevel
|
||||||
|
|
||||||
- name: push if all fine (branch update)
|
- name: push if all fine (branch update)
|
||||||
if: github.event_name == 'schedule'
|
#if: github.event_name == 'schedule'
|
||||||
run: |
|
run: |
|
||||||
|
|
||||||
git config --local user.email "action@git.ingolf-wagner.de"
|
git config --local user.email "action@git.ingolf-wagner.de"
|
||||||
|
|
Loading…
Reference in a new issue