From 98244897bf0b1accb7c95ffbaed38a1853c21a51 Mon Sep 17 00:00:00 2001 From: Kennynauh Date: Tue, 9 Jan 2024 15:29:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20The=20release=20version?= =?UTF-8?q?=20number=20is=20wrong?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ✅ Closes: #77 --- .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 b7fe150..5ce0dba 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,7 +20,7 @@ jobs: - name: Build Docker image run: | - latest_version=$(curl -sL https://api.github.com/repos/dataswap/messagehub/releases | jq -r ".[0].tag_name") + latest_version=$(curl -sL https://api.github.com/repos/dataswap/explorer/releases | jq -r ".[0].tag_name") mv ./.env.example.json ./.env.json sed -i 's/"messageHubUrl": "http:\/\/localhost:3000"/"messageHubUrl": "http:\/\/${{ secrets.MESSAGEHUB_SERVER }}"/' ./.env.json sudo docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/explorer:${latest_version} . @@ -37,7 +37,7 @@ jobs: script: | sudo apt-get update sudo apt-get install -y jq - latest_version=$(curl -sL https://api.github.com/repos/dataswap/messagehub/releases | jq -r ".[0].tag_name") + latest_version=$(curl -sL https://api.github.com/repos/dataswap/explorer/releases | jq -r ".[0].tag_name") echo ${latest_version} container_id=$(sudo docker ps -a | grep "${{ vars.PORT}}" | awk -F " " '{print $1}')