use git push directly

This commit is contained in:
Charlotte 🦝 Delenk 2022-04-15 19:48:55 +01:00
parent 013036a776
commit fcf119d20b
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -9,13 +9,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
token: ${{ secrets.PUBLISH_TOKEN }}
- uses: cachix/install-nix-action@v12
- run: nix flake update --extra-experimental-features "nix-command flakes"
- run: git config user.email autoupdate@chir.rs
- run: git config user.name "Autoupdater"
- run: git commit -am "Automatic update"
- name: Push
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.PUBLISH_TOKEN }}
branch: main
- run: git push