From 8533398f2ae5a8b79b85e7043bd0344e59237377 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Mon, 6 May 2024 09:43:25 +0200 Subject: [PATCH] Update CI a bit --- .woodpecker/documentation.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.woodpecker/documentation.yaml b/.woodpecker/documentation.yaml index 5236d9e..d1b8456 100644 --- a/.woodpecker/documentation.yaml +++ b/.woodpecker/documentation.yaml @@ -19,6 +19,8 @@ steps: - cat ~/.ssh/id_ed25519 - chmod 0600 ~/.ssh/id_ed25519 - protoc --proto_path=./proto --doc_out=. --doc_opt=markdown,README.md $(find ./proto -type f -iname "*.proto") + # To make sure there is always a change, even when protos are not updated + - echo "Generated on $(date)" >> README.md - eval `ssh-agent` - ssh-add ~/.ssh/id_ed25519 - git config --global user.email "allanger@badhouseplants.net" @@ -27,5 +29,5 @@ steps: - git -C /tmp/repo checkout generated-documentation - mv README.md /tmp/repo/README.md - git -C /tmp/repo add . - - git -C /tmp/repo commit -m "Update documentation" + - git -C /tmp/repo commit -m "Update documentation from $CI_COMMIT_SHA" - git -C /tmp/repo push