Add missing copy function
This commit is contained in:
parent
af9a6477f0
commit
4b9e9ad485
1 changed files with 18 additions and 1 deletions
|
|
@ -6,6 +6,23 @@ pipeline:
|
|||
- npm run build
|
||||
- echo "VERSION=$(cat version.txt)" > .env
|
||||
|
||||
ssh-copy-to-host:
|
||||
image: appleboy/drone-scp
|
||||
settings:
|
||||
host:
|
||||
from_secret: ssh_host
|
||||
username:
|
||||
from_secret: ssh_username
|
||||
key:
|
||||
from_secret: ssh_key
|
||||
port: 2332
|
||||
target: /home/mnisyif/docker-containers/mnisyif/frontend
|
||||
source:
|
||||
- dist/
|
||||
- Dockerfile
|
||||
- nginx.conf
|
||||
- version.txt
|
||||
|
||||
webserver-docker-deploy:
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue