mirror of
https://git.kh3group.com/georgebiri/kh3_website.git
synced 2026-10-16 23:31:47 +00:00
fix: change drone.yml name
This commit is contained in:
parent
93cff793f6
commit
e53db02cfd
1 changed files with 0 additions and 0 deletions
25
.drone.yml
Normal file
25
.drone.yml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: deploy
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: node:18-alpine
|
||||
commands:
|
||||
- npm ci || npm install
|
||||
- npm run build || npm build
|
||||
|
||||
- name: sync-files
|
||||
image: alpine:latest
|
||||
volumes:
|
||||
- name: website-data
|
||||
path: /host-target
|
||||
commands:
|
||||
- cp -a . /host-target
|
||||
|
||||
- chmod -R 777 /host-target
|
||||
|
||||
volumes:
|
||||
- name: website-data
|
||||
host:
|
||||
path: /root/kh3website/data/html
|
||||
Loading…
Add table
Add a link
Reference in a new issue