mirror of
https://git.kh3group.com/georgebiri/kh3_website.git
synced 2026-10-16 23:31:47 +00:00
refactor: streamline .drone.yml for improved readability and maintainability
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
de2745e433
commit
2e98e6cc02
1 changed files with 22 additions and 22 deletions
|
|
@ -3,13 +3,13 @@ type: docker
|
||||||
name: deploy
|
name: deploy
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: node:18-alpine
|
image: node:18-alpine
|
||||||
commands:
|
commands:
|
||||||
- npm ci || npm install
|
- npm ci || npm install
|
||||||
- npm run build || npm build
|
- npm run build || npm build
|
||||||
|
|
||||||
- name: sync-files
|
- name: sync-files
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
volumes:
|
volumes:
|
||||||
- name: website-data
|
- name: website-data
|
||||||
|
|
@ -25,6 +25,6 @@ steps:
|
||||||
- chmod -R 777 /host-target
|
- chmod -R 777 /host-target
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: website-data
|
- name: website-data
|
||||||
host:
|
host:
|
||||||
path: /root/kh3website/data/html
|
path: /root/kh3website/data/html
|
||||||
Loading…
Add table
Add a link
Reference in a new issue