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: |