Fix caching and test ssh command
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Thomas Cole 2022-06-03 06:20:42 -04:00
parent 2faf99ed2d
commit 954450b0b5

View File

@ -10,7 +10,7 @@ steps:
username: thomas username: thomas
password: password:
from_secret: ssh_password from_secret: ssh_password
path: /var/cache/drone path: /tmp/drone
restore: true restore: true
mount: mount:
- node_modules - node_modules
@ -29,7 +29,7 @@ steps:
username: thomas username: thomas
password: password:
from_secret: ssh_password from_secret: ssh_password
path: /var/cache/drone path: /tmp/drone
rebuild: true rebuild: true
mount: mount:
- node_modules - node_modules
@ -55,5 +55,6 @@ steps:
port: 22 port: 22
script: script:
- cd /home/thomas/wwwtest - cd /home/thomas/wwwtest
- mv dist/* dist/.* . - pwd
- rmdir dist # - mv dist/* dist/.* .
# - rmdir dist