mirror/.drone.yml
Stanislav N. aka pztrn c51532f71d
Some checks failed
continuous-integration/drone/push Build is failing
Use another image for shellcheck.
2022-06-26 23:56:24 +05:00

30 lines
427 B
YAML

---
kind: pipeline
type: docker
name: "lint"
steps:
- name: lint
image: koalaman/shellcheck-alpine:v0.8.0
pull: if-not-exists
commands:
- /bin/shellcheck mirror.sh
---
kind: pipeline
type: docker
name: "mirror"
depends_on:
- "lint"
trigger:
branch: ["main"]
steps:
- name: "mirror"
image: "docker:20.10.17-dind"
pull: if-not-exists
commands:
- ./mirror.sh drone ${drone_secret}