Stanislav N. aka pztrn
6c8f13a394
Some checks reported errors
continuous-integration/drone/push Build encountered an error
30 lines
420 B
YAML
30 lines
420 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: "lint"
|
|
|
|
steps:
|
|
- name: lint
|
|
image: koalaman/shellcheck: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}
|