diff --git a/swan-lake/development-tutorials/ballerina-central/publish-packages-to-ballerina-central.md b/swan-lake/development-tutorials/ballerina-central/publish-packages-to-ballerina-central.md index dd758cd79f8..c5c07b62e24 100644 --- a/swan-lake/development-tutorials/ballerina-central/publish-packages-to-ballerina-central.md +++ b/swan-lake/development-tutorials/ballerina-central/publish-packages-to-ballerina-central.md @@ -73,6 +73,12 @@ You can publish a Ballerina archive to the " ``` + If you are working in a context where it is not possible to save the `Settings.toml` file (e.g., within a CI/CD pipeline) you can set the access token via the `BALLERINA_CENTRAL_ACCESS_TOKEN` environment variable. + + ``` + export BALLERINA_CENTRAL_ACCESS_TOKEN="" + ``` + > **Note:** The tokens remain valid for one year from the generation date. Upon expiration, you must generate a new token and update the `Settings.toml` file to avoid the unauthorized access error. ### Configure proxy settings (optional)