updated website (html/css/images) + .drone.yml
This commit is contained in:
parent
6b9f5bb1cc
commit
314ac5f346
20 changed files with 166 additions and 54 deletions
24
.drone.yml
Normal file
24
.drone.yml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: deploy
|
||||
|
||||
steps:
|
||||
- name: sync-files
|
||||
image: alpine:latest
|
||||
volumes:
|
||||
- name: website-data
|
||||
path: /host-target
|
||||
commands:
|
||||
# 1. Repository is AUTOMATICALLY available in container
|
||||
# Current directory = repository root
|
||||
|
||||
# 2. Copy ALL repository files to volume
|
||||
- cp -a . /host-target
|
||||
|
||||
# 3. Set permissions
|
||||
- chmod -R 777 /host-target
|
||||
|
||||
volumes:
|
||||
- name: website-data
|
||||
host:
|
||||
path: /root/khy-website/data/html
|
||||
Loading…
Add table
Add a link
Reference in a new issue