Add missing copy function
This commit is contained in:
parent
af9a6477f0
commit
4b9e9ad485
1 changed files with 18 additions and 1 deletions
|
|
@ -5,7 +5,24 @@ pipeline:
|
||||||
- npm ci
|
- npm ci
|
||||||
- npm run build
|
- npm run build
|
||||||
- echo "VERSION=$(cat version.txt)" > .env
|
- 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:
|
webserver-docker-deploy:
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
settings:
|
settings:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue