diff --git a/.env.example b/.env.example index 03cc773..2a0c5af 100644 --- a/.env.example +++ b/.env.example @@ -1,8 +1,8 @@ -TELEGRAM_BOT_TOKEN="this from Telegram bot father" -TELEGRAM_CHAT_ID="this is a negative number for the Telegram group" +export TELEGRAM_BOT_TOKEN="this from Telegram bot father" +export TELEGRAM_CHAT_ID="this is a negative number for the Telegram group" -KEYSTORE_FILE="/path/to/your/secret/keystore.jks" -KEYSTORE_PASSPHRASE="this is the Java keystore password" +export KEYSTORE_FILE="/path/to/your/secret/keystore.jks" +export KEYSTORE_PASSPHRASE="this is the Java keystore password" -ARTIFACTS_URL=https://example.com/builds/libre-busto/ -ARTIFACTS_PATH=/var/www/example.com/lab/builds/libre-busto +export ARTIFACTS_URL=https://example.com/builds/libre-busto/ +export ARTIFACTS_PATH=/var/www/example.com/lab/builds/libre-busto diff --git a/README.md b/README.md index f616c03..b1e58a3 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,15 @@ # CI/CD scripts for Libre BusTO ## Installation Clone and create an `.env` file from the `.env.example`. ## Usage From the root directory of the Libre BusTO repository, run the Bash script, like: ``` -/something/libre-busto-ci-cd/bin/publish-latest-branch-build.sh +. .env && /opt/libre-busto-ci-cd/bin/publish-latest-branch-build.php ``` That script is the one that should be executed in Harbormaster, as build plan.