Skip to content

Commit

Permalink
fix: php translation push on git parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
ga-devfront committed Jul 12, 2024
1 parent 10852ef commit 5705c7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/extract-translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
echo "::error::The directory catalog/autoupgrade/translations/en-US is not empty, some translations are left behind. This can happen when translations have a domain set when calling the method trans."
fi
rmdir catalog/autoupgrade/translations/en-US
cd "$TOOL_DIR"
php bin/console prestashop:translation:push-on-git "$REPOSITORY_NAME" "$REPOSITORY_NAME" "$WORKDIR" $BRANCH --push-on-branch $TRANSLATION_BRANCH -v
php bin/console prestashop:translation:push-on-git "https://oauth2:${{ secrets.GITHUB_TOKEN }}@github.com/$OWNER_NAME/$REPOSITORY_NAME.git" "$REPOSITORY_NAME" "./catalog" $BRANCH -v --push-on-branch $TRANSLATION_BRANCH
env:
APP_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5705c7d

Please sign in to comment.