You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by pk...@apache.org on 2024/08/22 14:18:47 UTC

(logging-parent) 05/14: Disable Develocity if secret missing

This is an automated email from the ASF dual-hosted git repository.

pkarwasz pushed a commit to branch feature/develocity
in repository https://gitbox.apache.org/repos/asf/logging-parent.git

commit 3a36a8c5b5dedaa7b5bbde94f1cdd8b8d11c6ad0
Author: Piotr P. Karwasz <pi...@karwasz.org>
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 606a3fd..45cb749 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