add push to github
This commit is contained in:
parent
7371b5827e
commit
b907a6c6bb
1 changed files with 8 additions and 0 deletions
|
@ -6,4 +6,12 @@ pipeline:
|
|||
commands:
|
||||
- nix --no-sandbox flake metadata
|
||||
- nix --no-sandbox develop --eval-store ./nix-store -c statix check ./nixos
|
||||
secrets: [ github_token ]
|
||||
|
||||
push_to_github:
|
||||
image: nixpkgs/nix-flakes:latest
|
||||
pull: true
|
||||
commands: |
|
||||
git remote add github https://cyplo:$GITHUB_TOKEN@github.com/cyplo/dotfiles.git
|
||||
git push github --all --force
|
||||
secrets: [ github_token ]
|
||||
|
|
Loading…
Reference in a new issue