use git push directly
This commit is contained in:
parent
013036a776
commit
fcf119d20b
1 changed files with 3 additions and 5 deletions
8
.github/workflows/update.yml
vendored
8
.github/workflows/update.yml
vendored
|
@ -9,13 +9,11 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.PUBLISH_TOKEN }}
|
||||||
- uses: cachix/install-nix-action@v12
|
- uses: cachix/install-nix-action@v12
|
||||||
- run: nix flake update --extra-experimental-features "nix-command flakes"
|
- run: nix flake update --extra-experimental-features "nix-command flakes"
|
||||||
- run: git config user.email autoupdate@chir.rs
|
- run: git config user.email autoupdate@chir.rs
|
||||||
- run: git config user.name "Autoupdater"
|
- run: git config user.name "Autoupdater"
|
||||||
- run: git commit -am "Automatic update"
|
- run: git commit -am "Automatic update"
|
||||||
- name: Push
|
- run: git push
|
||||||
uses: ad-m/github-push-action@master
|
|
||||||
with:
|
|
||||||
github_token: ${{ secrets.PUBLISH_TOKEN }}
|
|
||||||
branch: main
|
|
||||||
|
|
Loading…
Reference in a new issue