deploy built website
This commit is contained in:
parent
efbfabb8ab
commit
c5f933765d
17
.drone.yml
17
.drone.yml
@ -25,6 +25,23 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- yarn install
|
- yarn install
|
||||||
- yarn build
|
- yarn build
|
||||||
|
|
||||||
|
- name: rsync
|
||||||
|
image: drillster/drone-rsync
|
||||||
|
settings:
|
||||||
|
user: ci
|
||||||
|
key:
|
||||||
|
from_secret: rsync_key
|
||||||
|
hosts:
|
||||||
|
- droplet.chuckdries.com
|
||||||
|
exclude:
|
||||||
|
- node_modules
|
||||||
|
- .git*
|
||||||
|
args: -zr
|
||||||
|
source: ./public
|
||||||
|
target: www/personal-website
|
||||||
|
delete: true
|
||||||
|
secrets: [ rsync_key ]
|
||||||
|
|
||||||
- name: rebuild-cache
|
- name: rebuild-cache
|
||||||
image: drillster/drone-volume-cache
|
image: drillster/drone-volume-cache
|
||||||
|
Loading…
x
Reference in New Issue
Block a user