fix(deploy): 🐛 Fix pipeline fr

from previous commit, the port must also be excluded
This commit is contained in:
pakintada@gmail.com 2024-09-10 08:15:54 +07:00
parent 76c8aca6ca
commit 70842b6c31
2 changed files with 3 additions and 3 deletions

View file

@ -78,7 +78,7 @@ jobs:
curl -H 'accept: application/json' -H 'authorization: Basic cGFraW46YWRtaW4xMjM=' "$(curl -X 'GET' \
'https://pakin-inspiron-15-3530.tail360bd.ts.net/api/v1/repos/pakin/taobin_recipe_manager/releases/19/assets/73' \
-H 'accept: application/json' \
-H 'authorization: Basic cGFraW46YWRtaW4xMjM=' | jq -r '.browser_download_url' | sed -e 's/http/https/g' | sed -e 's/100.64.210.13/pakin-inspiron-15-3530.tail360bd.ts.net/g')" | jq -r '.body.env' | base64 -d > ./server/app.env
-H 'authorization: Basic cGFraW46YWRtaW4xMjM=' | jq -r '.browser_download_url' | sed -e 's/http/https/g' | sed -e 's/100.64.210.13\:3001/pakin-inspiron-15-3530.tail360bd.ts.net/g')" | jq -r '.body.env' | base64 -d > ./server/app.env
cat ./server/app.env
- name: Download secret
run: |
@ -86,7 +86,7 @@ jobs:
curl -H 'accept: application/json' -H 'authorization: Basic cGFraW46YWRtaW4xMjM=' "$(curl -X 'GET' \
'https://pakin-inspiron-15-3530.tail360bd.ts.net/api/v1/repos/pakin/taobin_recipe_manager/releases/19/assets/73' \
-H 'accept: application/json' \
-H 'authorization: Basic cGFraW46YWRtaW4xMjM=' | jq -r '.browser_download_url' | sed -e 's/http/https/g' | sed -e 's/100.64.210.13/pakin-inspiron-15-3530.tail360bd.ts.net/g'))" | jq -r '.body.secret' | base64 -d > ./server/client_secret.json
-H 'authorization: Basic cGFraW46YWRtaW4xMjM=' | jq -r '.browser_download_url' | sed -e 's/http/https/g' | sed -e 's/100.64.210.13\:3001/pakin-inspiron-15-3530.tail360bd.ts.net/g'))" | jq -r '.body.secret' | base64 -d > ./server/client_secret.json
cat ./server/client_secret.json
- name: Run Golang tests
run: |

View file

@ -29,7 +29,7 @@ import (
"go.uber.org/zap"
)
const VERSION = "1.0.31"
const VERSION = "1.0.35"
type Server struct {
server *http.Server