forked from fediversity/fediversity
add debugging lines to CD pipeline to debug error Could not open a connection to your authentication agent
This commit is contained in:
parent
0dbd327975
commit
0ce2ad1546
1 changed files with 2 additions and 1 deletions
|
|
@ -11,8 +11,9 @@ steps:
|
||||||
env
|
env
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
echo "$CD_SSH_KEY" > ~/.ssh/id_ed25519
|
echo "$CD_SSH_KEY" > ~/.ssh/id_ed25519
|
||||||
|
ls -l ~/.ssh/id_ed25519
|
||||||
chmod 600 ~/.ssh/id_ed25519
|
chmod 600 ~/.ssh/id_ed25519
|
||||||
- nix-shell --run 'eval "$(ssh-agent -s)" && ssh-add ~/.ssh/id_ed25519 && SHELL=$(which bash) nixops4 apply -v default'
|
- nix-shell --run 'eval "$(ssh-agent -s)" && ssh-add ~/.ssh/id_ed25519 && ssh-agent -s && SHELL=$(which bash) nixops4 apply -v default'
|
||||||
environment:
|
environment:
|
||||||
CD_SSH_KEY:
|
CD_SSH_KEY:
|
||||||
from_secret: cd_ssh_key
|
from_secret: cd_ssh_key
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue