ci: try to fix pushing

This commit is contained in:
Jörg Thalheim 2020-11-29 18:10:00 +01:00
parent 4f7f115d06
commit dcc01caa04
No known key found for this signature in database
GPG key ID: 003F2096411B5F92
3 changed files with 2 additions and 3 deletions

View file

@ -12,6 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
fetch-depth: '0'
- uses: cachix/install-nix-action@v12
with:
nix_path: nixpkgs=channel:nixos-unstable

View file

@ -19,8 +19,6 @@ git clone \
--single-branch \
"https://$API_TOKEN_GITHUB@github.com/nix-community/nur-combined.git"
git clone git@github.com:nix-community/nur-combined
nix run '(import ./release.nix {})' -c nur index nur-combined > nur-search/data/packages.json
# rebuild and publish nur-search repository

View file

@ -26,7 +26,7 @@ else
git commit -m "automatic update"
# in case we are getting overtaken by a different job
git pull --rebase origin master
git push git@github.com:nix-community/NUR HEAD:master
git push $API_TOKEN_GITHUB@github.com:nix-community/NUR HEAD:master
fi
git -C nur-combined pull --rebase origin master