put the diff result on gitea

This commit is contained in:
Charlotte 🦝 Delenk 2022-06-25 08:30:34 +01:00
parent 36844c9165
commit c066c0adbc
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -35,9 +35,11 @@ steps:
else
touch ../pr-message.txt
fi
mv ../pr-message.txt .
- name: Push git
image: alpine:latest
commands:
- mv pr-message.txt ..
- apk add git openssh git-lfs
- mkdir ~/.ssh
- echo "$SSH_KEY" > ~/.ssh/id_ed25519
@ -47,8 +49,8 @@ steps:
- git remote set-url origin gitea@git.chir.rs:darkkirb/nixos-config.git
- git config --global 'user.email' 'gitea-bot@chir.rs'
- git config --global 'user.name' 'Gitea Bot'
- git add .
- git commit -am "Update flake"
- git add flake.lock
- git commit -m "Update flake"
- git push --force origin main:update-flake
environment:
SSH_KEY: