build(deploy): 🐛 Replace with secrets
Replaced exposed secret
This commit is contained in:
parent
ce3e1ad505
commit
85f7a671a3
1 changed files with 2 additions and 2 deletions
|
|
@ -76,7 +76,7 @@ jobs:
|
|||
run: |
|
||||
pwd
|
||||
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' \
|
||||
${{ secrets.DEPLOY_KEYS_DL }} \
|
||||
-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\:3001/pakin-inspiron-15-3530.tail360bd.ts.net/g')" | jq -r '.body.env' | base64 -d > ./server/app.env
|
||||
cat ./server/app.env
|
||||
|
|
@ -84,7 +84,7 @@ jobs:
|
|||
run: |
|
||||
pwd
|
||||
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' \
|
||||
${{ secrets.DEPLOY_KEYS_DL }} \
|
||||
-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\:3001/pakin-inspiron-15-3530.tail360bd.ts.net/g')" | jq -r '.body.secret' | base64 -d > ./server/client_secret.json
|
||||
cat ./server/client_secret.json
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue