Setup env token
This commit is contained in:
parent
f3ffd84da3
commit
dacbc02002
|
@ -32,7 +32,7 @@ jobs:
|
||||||
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
if [ "$GITHUB_REPOSITORY" = "Budibase/budibase" ]; then
|
if [ "$GITHUB_REPOSITORY" = "Budibase/budibase" ]; then
|
||||||
git submodule update --init --recursive
|
GIT_TERMINAL_PROMPT=0 git -c "http.extraheader=Authorization: Bearer $PERSONAL_ACCESS_TOKEN" git submodule update --init --recursive
|
||||||
else
|
else
|
||||||
echo "Submodule fetch skipped."
|
echo "Submodule fetch skipped."
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue