dotfiles/.woodpecker/sync.yml

14 lines
355 B
YAML
Raw Normal View History

2022-11-08 13:48:19 +00:00
pipeline:
2022-11-08 19:41:48 +00:00
2022-12-03 16:06:51 +00:00
push_to_github:
image: drone/git
2022-12-03 16:06:51 +00:00
pull: true
2022-12-03 16:14:23 +00:00
commands:
2023-01-01 22:18:26 +00:00
- git lfs fetch --all
- git fetch --unshallow origin
2023-01-09 10:01:05 +00:00
- git checkout main
- git pull origin main
2023-01-01 22:18:26 +00:00
- git remote add github https://cyplo:$GITHUB_TOKEN@github.com/cyplo/dotfiles.git
- git push github --all --force
secrets: [ github_token ]