26 lines
718 B
YAML
26 lines
718 B
YAML
steps:
|
|
- name: age-check
|
|
image: ubuntu:latest
|
|
commands:
|
|
- cd $CI_WORKSPACE
|
|
- ls -al
|
|
- /bin/sh 'update-age.sh' infos_persos.tex && echo "Age check succeeded" || echo "Age check failed"
|
|
when:
|
|
- branch: main
|
|
event: [cron, manual]
|
|
|
|
- name: push commit
|
|
image: appleboy/drone-git-push
|
|
settings:
|
|
commit: true
|
|
commit_message: "Update age"
|
|
# remote_name: origin
|
|
remote: "git@git.polarolouis.fr:2220/cv-latex.git"
|
|
author_name: "Woodpecker CI"
|
|
author_email: "git@polarolouis.fr"
|
|
ssh_key:
|
|
from_secret: SSH-KEY
|
|
when:
|
|
- path:
|
|
include: ["infos_persos.tex"]
|
|
event: [push, pull_request, manual, cron]
|