ci: add secret & ssh-keyscan

This commit is contained in:
Jozef Steinhübl 2024-07-23 12:48:13 +02:00
parent c199fde849
commit 331abf287e
No known key found for this signature in database
GPG key ID: E6BC90C91973B08F

View file

@ -4,11 +4,12 @@ packages:
sources: sources:
- "https://git.sr.ht/~hyro/gimi" - "https://git.sr.ht/~hyro/gimi"
secrets: secrets:
- 55691174-b52f-477c-81ea-dd32deff19b8now - 55691174-b52f-477c-81ea-dd32deff19b8
tasks: tasks:
- sync: | - sync: |
set +x set +x
git remote add gimi-github git@github.com:xhyrom/gimi.git git remote add gimi-github git@github.com:xhyrom/gimi.git
ssh-keyscan github.com >> ~/.ssh/known_hosts
git push -f --all gimi-github git push -f --all gimi-github
git push -f --tags gimi-github git push -f --tags gimi-github
set -x set -x