Build folder.
This commit is contained in:
parent
8c748d53f6
commit
59654d0764
@ -75,7 +75,7 @@ steps:
|
|||||||
from_secret: privateKey
|
from_secret: privateKey
|
||||||
port: 22
|
port: 22
|
||||||
target: /home/ubuntu/cv
|
target: /home/ubuntu/cv
|
||||||
source: dist/*
|
source: build/*
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
@ -87,7 +87,7 @@ steps:
|
|||||||
command_timeout: 2m
|
command_timeout: 2m
|
||||||
script:
|
script:
|
||||||
- cd /home/ubuntu/cv
|
- cd /home/ubuntu/cv
|
||||||
- mv dist/* ./
|
- mv build/* ./
|
||||||
- sudo chown www-data:www-data ./*
|
- sudo chown www-data:www-data ./*
|
||||||
- sudo rm -rf /var/www/amine/CV2/*
|
- sudo rm -rf /var/www/amine/CV2/*
|
||||||
- sudo mv ./* /var/www/amine/CV2/
|
- sudo mv ./* /var/www/amine/CV2/
|
||||||
|
Loading…
Reference in New Issue
Block a user