diff --git a/.github/workflows/publish-dist.yml b/.github/workflows/publish-dist.yml index 45052b4c9..f8c1c290a 100644 --- a/.github/workflows/publish-dist.yml +++ b/.github/workflows/publish-dist.yml @@ -119,7 +119,7 @@ jobs: run: | echo "Check ipfs-hash" docker run --rm ghcr.io/vegaprotocol/frontend/${{ matrix.app }}:local cat /ipfs-hash - docker run --rm ghcr.io/vegaprotocol/frontend/${{ matrix.app }}:local cat /ipfs-hash > ipfs-hash + docker run --rm ghcr.io/vegaprotocol/frontend/${{ matrix.app }}:local cat /ipfs-hash > ${{ matirx.app }}-ipfs-hash echo "List html directory" docker run --rm ghcr.io/vegaprotocol/frontend/${{ matrix.app }}:local sh -c 'apk add --update tree; tree /usr/share/nginx/html' @@ -171,6 +171,6 @@ jobs: - name: Add ipfs hash to release uses: softprops/action-gh-release@v1 - if: startsWith(github.ref, 'refs/tags/v') + if: ${{ matrix.app == 'trading' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }} with: - files: ipfs-hash + files: ${{ matrix.app }}-ipfs-hash