migrate to ne wgithub token
This commit is contained in:
parent
919f9a9552
commit
07ece6c22b
1 changed files with 8 additions and 8 deletions
16
.build.yml
16
.build.yml
|
@ -1,14 +1,14 @@
|
|||
image: nixos/latest
|
||||
sources:
|
||||
- https://git.sr.ht/~cyplo/dotfiles
|
||||
- https://git.sr.ht/~cyplo/dotfiles
|
||||
|
||||
secrets:
|
||||
- b7161fff-05f4-4470-b4a1-57bd67dede23
|
||||
- 6c23a8c1-7a30-4a7e-b3b7-0171e898a7d3
|
||||
|
||||
tasks:
|
||||
- github_push: |
|
||||
set +xv
|
||||
cd dotfiles
|
||||
GITHUB_TOKEN=`cat ~/.github_token`
|
||||
git remote add github https://cyplo:$GITHUB_TOKEN@github.com/cyplo/dotfiles.git
|
||||
git push github master
|
||||
- github_push: |
|
||||
set +xv
|
||||
cd dotfiles
|
||||
GITHUB_TOKEN=`cat ~/.github_token`
|
||||
git remote add github https://cyplo:$GITHUB_TOKEN@github.com/cyplo/dotfiles.git
|
||||
git push github master
|
||||
|
|
Loading…
Reference in a new issue