21 lines
530 B
YAML
21 lines
530 B
YAML
steps:
|
|
- name: age-check
|
|
image: alpine:latest
|
|
commands:
|
|
- /bin/sh -c 'update-age.sh' && echo "Age check succeeded" || echo "Age check failed"
|
|
when:
|
|
- event: [cron, manual]
|
|
|
|
- name: push commit
|
|
image: appleboy/drone-git-push
|
|
settings:
|
|
commit: true
|
|
commit_message: "Update age"
|
|
remote_name: origin
|
|
author_name: "Woodpecker CI"
|
|
author_email: "git@polarolouis.fr"
|
|
ssh_key:
|
|
from_secret: SSH-KEY
|
|
when:
|
|
path:
|
|
include: ["infos_persos.tex"]
|