From f120ab3e1b9b97264764c4e17b2f8bcb255362fe Mon Sep 17 00:00:00 2001 From: Darren Li Date: Fri, 12 Jul 2024 23:56:38 +1000 Subject: [PATCH] Fixing github workflow --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 63c53c7..5645fbd 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -59,14 +59,14 @@ jobs: tar -cvzf docfd-${{ env.GITHUB_TAG }}-${{ env.OS_SHORT_NAME }}.tar.gz docfd - name: Upload artifacts - if: ${{ github.event_name != 'release' }} + if: ${{ github.ref_name == 'ci-test' }} uses: actions/upload-artifact@v4 with: name: docfd-${{ env.GITHUB_TAG }}-${{ env.OS_SHORT_NAME }}.tar.gz path: docfd-${{ env.GITHUB_TAG }}-${{ env.OS_SHORT_NAME }}.tar.gz - name: Release - if: ${{ github.event_name == 'release' }} + if: ${{ github.ref_name != 'ci-test' }} uses: softprops/action-gh-release@v1 with: files: |