separate steps to push to github

This commit is contained in:
Cyryl Płotnicki 2022-12-03 16:14:23 +00:00
parent b907a6c6bb
commit 994e683cfa

View file

@ -11,7 +11,7 @@ pipeline:
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
commands:
- git remote add github https://cyplo:$GITHUB_TOKEN@github.com/cyplo/dotfiles.git
- git push github --all --force
secrets: [ github_token ]