From 9995dd4dc893b02244869b6b13ab4ba3969c28fc Mon Sep 17 00:00:00 2001 From: Andreas Hubel <40266+saerdnaer@users.noreply.github.com> Date: Wed, 26 Jun 2024 23:13:34 +0200 Subject: [PATCH] try to fix action --- .github/workflows/validate+sync.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate+sync.yml b/.github/workflows/validate+sync.yml index ccca2b31..ff7c47f2 100644 --- a/.github/workflows/validate+sync.yml +++ b/.github/workflows/validate+sync.yml @@ -31,7 +31,6 @@ jobs: files: configs/conferences/**/config.json mirror: - if: secrets.SSH_PRIVATE_KEY != '' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -39,6 +38,9 @@ jobs: fetch-depth: 0 - name: Mirror to VOC gitolite + env: + secrets_available: ${{ secrets.SSH_PRIVATE_KEY }} != '' + if: ${{ env.secrets_available }} uses: pixta-dev/repository-mirroring-action@v1.1.1 with: target_repo_url: