Setup env token

This commit is contained in:
Adria Navarro 2023-06-29 10:48:41 +01:00
parent f3ffd84da3
commit dacbc02002
1 changed files with 1 additions and 1 deletions

View File

@ -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