Fixing env var usage
Some checks failed
ci/woodpecker/push/age-check Pipeline was successful
ci/woodpecker/push/build-deploy Pipeline was successful
ci/woodpecker/manual/age-check Pipeline failed
ci/woodpecker/manual/build-deploy Pipeline was successful

This commit is contained in:
Louis 2025-09-30 14:03:04 +02:00
parent 020b333296
commit 6d1de80aab

View file

@ -22,14 +22,14 @@ steps:
- apk add --update openssh-client bash
- eval $(ssh-agent -s)
- bash -c 'ssh-add <(echo "$SSH_PRIVATE_KEY")'
- git config --global user.email "$author_email"
- git config --global user.name "$author_name"
- git config --global user.email "${author_email:-git@polarolouis.fr}"
- git config --global user.name "${author_name:-Bot}"
- git add -f infos_persos.tex
- git status
- git commit -m "Update age in infos_persos.tex [CI SKIP]"
- git push origin "${CI_REPO_DEFAULT_BRANCH}" -o ci.skip
environment:
GIT_SSH_COMMAND: "ssh -i ~/.ssh/id_ed25519 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
# GIT_SSH_COMMAND: "ssh -i ~/.ssh/id_ed25519 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
author_name: "Woodpecker CI"
author_email: "git@polarolouis.fr"
SSH_PRIVATE_KEY: