Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Evaldo Felipe <[email protected]>
  • Loading branch information
evaldofelipe committed Jan 10, 2025
1 parent fc0cfdf commit 4928c36
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions scripts/pre-build-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@

if [ -n "${GH_TOKEN}" ]; then
echo "Getting env files from config repo..."
#curl -o ${FILE_PATH} "https://${GH_TOKEN}@${GIT_ENV_REPO}/${FILE_REMOTE}"
curl -H 'Authorization: token ${GH_TOKEN}' \
-o ${FILE_PATH} \
-H 'Accept: application/vnd.github.v3.raw' \
-O \
-L https://raw.githubusercontent.com/${GIT_ENV_REPO}/${FILE_REMOTE}
echo "Updated data at ${FILE_PATH}"
curl -o ${FILE_PATH} "https://${GIT_ENV_URL}"
# curl -H 'Authorization: token ${GH_TOKEN}' \
# -o ${FILE_PATH} \
# -H 'Accept: application/vnd.github.v3.raw' \
# -O \
# -L https://raw.githubusercontent.com/${GIT_ENV_REPO}/${FILE_REMOTE}
# echo "Updated data at ${FILE_PATH}"
echo "exporting.."
cat ${FILE_PATH}
source ${FILE_PATH}
Expand Down

0 comments on commit 4928c36

Please sign in to comment.