Fediversity/.woodpecker/cd.yaml
Kiara Grouwstra a8797bc1b4
Some checks failed
ci/woodpecker/manual/check-pre-commit Pipeline is pending
ci/woodpecker/manual/update Pipeline is pending
ci/woodpecker/manual/cd Pipeline failed
ci/woodpecker/manual/check-deployment-basic Pipeline is running
ci/woodpecker/manual/check-data-model Pipeline was successful
ci/woodpecker/manual/check-deployment-cli Pipeline is running
ci/woodpecker/manual/check-deployment-panel Pipeline is running
ci/woodpecker/manual/check-mastodon Pipeline is running
ci/woodpecker/manual/check-panel Pipeline is running
ci/woodpecker/manual/check-peertube Pipeline is running
add debugging lines to CD pipeline to debug error Could not open a connection to your authentication agent
2025-07-26 16:23:04 +02:00

19 lines
481 B
YAML

when:
- event: manual
- event: push
branch: main
steps:
- name: build
image: bash
commands:
- |
env
mkdir -p ~/.ssh
echo "$CD_SSH_KEY" > ~/.ssh/id_ed25519
ls -l ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
- nix-shell --run 'eval "$(ssh-agent -s)" && ssh-add ~/.ssh/id_ed25519 && ssh-agent -s && SHELL=$(which bash) nixops4 apply -v default'
environment:
CD_SSH_KEY:
from_secret: cd_ssh_key