Fix typo
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
Sam A. 2022-05-24 00:23:20 +02:00
parent 18526ffd66
commit 424fec7c78
1 changed files with 5 additions and 5 deletions

View File

@ -7,16 +7,16 @@ steps:
image: klakegg/hugo:latest
volumes:
- name: build
path: /root/build
path: $HOME/build
commands:
- hugo
- cp -rv public /root/build
- cp -rv public $HOME/build
- name: deploy
image: alpine/git:latest
volumes:
- name: build
path: /root/build
path: $HOME/build
environment:
SSH_USER:
from_secret: ssh_user
@ -29,8 +29,8 @@ steps:
commands:
- mkdir $HOME/.ssh
- echo "$SSH_KEY" > $HOME/.ssh/id_ed25519
- chmod 600 $HOME/.ssh/id_25519
- scp -o "StrictHostKeyChecking no" -P ${SSH_PORT} -r /root/build/public ${SSH_USER}@${SSH_HOST}:docker/nginx/website
- chmod 600 $HOME/.ssh/id_ed25519
- scp -o "StrictHostKeyChecking no" -P ${SSH_PORT} -r $HOME/build/public ${SSH_USER}@${SSH_HOST}:docker/nginx/website
volumes:
- name: build