dev1/.woodpecker.yml

19 lines
334 B
YAML

kind: pipeline
type: docker
name: secret-test
steps:
- name: echo-secret
image: alpine:latest
environment:
STAGING_SSH_KEY: test123
commands:
- |
echo "START SECRET"
echo "$STAGING_SSH_KEY" | wc -c
echo "$STAGING_SSH_KEY"
echo "END SECRET"
when:
event: [push, manual]
branch: [master]