Files
pgtune/.drone.yml
administrator 1cd3550b5d
continuous-integration/drone/push Build is passing
CI / CD pipeline modified
2026-09-06 06:09:33 +03:00

38 lines
783 B
YAML

name: development
type: docker
kind: pipeline
volumes:
- name: bun_cache
host:
path: /var/lib/cache/docker/bun
- name: node_modules
host:
path: /var/lib/cache/docker/node_modules/pgtune
- name: dist
host:
path: /var/lib/docker/volumes/pgtune/_data
steps:
- name: build and deploy static
image: dockerhub.timeweb.cloud/oven/bun:alpine
volumes:
- name: bun_cache
path: /root/.bun/install/cache
- name: node_modules
path: /drone/src/node_modules
- name: dist
path: /dist
commands:
- apk add --no-cache rsync
- bun install --frozen_lockfile
- bun --bun run build
- rsync -cavhP --delete-after ./dist/ /dist/
image_pull_secrets:
- GiteaRegistryConfig
trigger:
branch:
- develop