-
Click Generate new token
-
Use the repo scope and give it a name.
-
Run this command:
platform variable:create --project PROJECT-ID --level project --name env:COMPOSER_AUTH \
--json true --visible-runtime false --sensitive true --visible-build true \
--value '{"github-oauth": {"github.com": "YOUR-TOKEN"}}'
- Clear the build cache with:
platform project:clear-build-cache --project PROJECT-ID