fix(ci): define which app ipfs hash is set for

This commit is contained in:
Mikołaj Młodzikowski 2023-05-09 18:47:50 +02:00
parent 89700803d6
commit ecedb879f8

View File

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