This is an automated email from the ASF dual-hosted git repository.
pkarwasz pushed a commit to branch develocity
in repository https://gitbox.apache.org/repos/asf/logging-parent.git
The following commit(s) were added to refs/heads/develocity by this push:
new 4dd5c6a Disable Develocity if secret missing
4dd5c6a is described below
commit 4dd5c6a39b919ee12ab0f8dfbb2ce1c77c144e05
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Tue Jun 11 11:05:47 2024 +0200
Disable Develocity if secret missing
---
.github/workflows/deploy-site-reusable.yaml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/.github/workflows/deploy-site-reusable.yaml
b/.github/workflows/deploy-site-reusable.yaml
index fa1f78c..fb3cda6 100644
--- a/.github/workflows/deploy-site-reusable.yaml
+++ b/.github/workflows/deploy-site-reusable.yaml
@@ -67,6 +67,12 @@ jobs:
cache: maven
gpg-private-key: ${{ secrets.GPG_SECRET_KEY }}
+ - name: Disable Develocity
+ shell: bash
+ if: ${{ ! secrets.GE_ACCESS_TOKEN }}
+ run: |
+ rm -f .mvn/extensions.xml
+
- name: Build the project
shell: bash
if: inputs.install-required