Add missing copy function

This commit is contained in:
Murtadha 2024-07-19 17:54:21 -04:00
parent af9a6477f0
commit 4b9e9ad485

View file

@ -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: