Update '.drone.yml'
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Leon Etienne 2022-10-25 21:35:39 +00:00
parent 8fc90d0783
commit 6319e8b0e6

View File

@ -3,7 +3,19 @@ type: kubernetes
name: cicd-pipeline
steps:
- name: all-tmp
- name: build
image: ubuntu
commands:
- apt-get update
- >-
apt-get
make
doxygen
-y
- cd "GCryptLib/doxygen"
- make
- name: deploy to production
image: ubuntu
environment:
SSH_PRIV:
@ -19,11 +31,7 @@ steps:
install
openssh-client
rsync
make
doxygen
-y
- cd "GCryptLib/doxygen"
- make
- eval "$(ssh-agent -s)"
- mkdir -p ~/.ssh
- echo "$SSH_PRIV" > ~/.ssh/id_ed25519
@ -33,6 +41,7 @@ steps:
- chmod 644 ~/.ssh/id_ed25519.pub
- chmod 644 ~/.ssh/known_hosts
- ssh-add
- cd "GCryptLib/doxygen"
- >-
rsync
-avz