docs/.drone.yml
Nicolai Ort f3afd57ada
Some checks failed
continuous-integration/drone/push Build is failing
Switched drone pipline over to main only
2021-02-15 18:08:59 +01:00

39 lines
969 B
YAML

---
kind: pipeline
type: docker
name: build:latest
steps:
- name: run full license export
depends_on: ["clone"]
image: node:alpine
commands:
- yarn
- yarn licenses:export
- name: push new licenses file to repo
depends_on: ["run full license export"]
image: appleboy/drone-git-push
settings:
branch: main
commit: true
commit_message: new license file version [CI SKIP]
author_email: bot@odit.services
remote: git@git.odit.services:lfk/docs.git
ssh_key:
from_secret: GITLAB_SSHKEY
- name: build latest
image: plugins/docker
depends_on: [clone]
settings:
username:
from_secret: DOCKER_REGISTRY_USER
password:
from_secret: DOCKER_REGISTRY_PASSWORD
repo: registry.odit.services/lfk/docs
tags:
- latest
registry: registry.odit.services
trigger:
branch:
- main
event:
- push