Debugging

This commit is contained in:
Benjamin Bädorf 2021-06-14 22:32:17 +02:00
parent 200eeee0fc
commit 7e5ff25740
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C

View file

@ -8,13 +8,17 @@ steps:
environment: environment:
GITEA_SSH_KEY: GITEA_SSH_KEY:
from_secret: gitea_ssh_key from_secret: gitea_ssh_key
GIT_SSH_COMMAND: ssh -v
commands: commands:
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- echo $GITEA_SSH_KEY > ~/.ssh/id_rsa - echo $GITEA_SSH_KEY > ~/.ssh/id_rsa
- echo "Host git.b12f.io" >> ~/.ssh/config - echo "Host git.b12f.io" >> ~/.ssh/config
- echo " Port 2222" >> ~/.ssh/config - echo " Port 2222" >> ~/.ssh/config
- chmod -R 600 ~/.ssh - chmod -R 600 ~/.ssh
- GIT_SSH_COMMAND="ssh -v" git clone -b devos git@git.b12f.io:pub-solar/os - id
- whoami
- cat ~/.ssh/config
- git clone -b devos git@git.b12f.io:pub-solar/os
- cd os - cd os
- git remote add devos https://github.com/divnix/devos.git - git remote add devos https://github.com/divnix/devos.git
- git fetch --all - git fetch --all