1
0
Fork 0
docs/.drone.yml

27 Zeilen
Kein EOL
470 B
YAML

name: test
kind: pipeline
type: docker
clone:
disable: true
platform:
os: linux
arch: amd64
steps:
- name: clone
image: registry.access.redhat.com/ubi9/python-311:1-12
commands:
- mkdir ~/docs && cd ~/docs
- git clone $DRONE_REPO_LINK .
- git checkout $DRONE_COMMIT
- name: build
image: registry.access.redhat.com/ubi9/nodejs-18-minimal:1-67
commands:
- npm install --only=production
- npm run build
trigger:
event:
- push
- pull_request