Browse Source

edited drone config

feature/zola
root 3 months ago
parent
commit
41cd982720
  1. 3
      .drone.yml

3
.drone.yml

@ -10,6 +10,8 @@ environment:
from_secret: remote_path
KNOWN_HOSTS:
from_secret: known_hosts
SSH_KEY:
from_secret: ssh_key
steps:
- name: building the blog
@ -17,6 +19,7 @@ steps:
commands:
- mkdir -p $HOME/.ssh
- echo $KNOWN_HOSTS > $HOME/.ssh/known_hosts
- echo $SSH_KEY > $HOME/.ssh/id_ed25519
- apk add --no-cache janet bash openssh
- ./blog.sh
- 'tar czf - www.aphrodite.dev | ssh $REMOTE_HOST "cd $REMOTE_PATH && tar mxzf -"'
Loading…
Cancel
Save