chore: add dummy .env file creation step in Docker build workflow

Introduced a step in the Docker build workflow to create a dummy .env file with placeholder values for TELEGRAM_API_ID, TELEGRAM_API_HASH, and TELEGRAM_SESSION_STRING, facilitating local development and testing.
This commit is contained in:
anonim 2025-04-24 14:54:24 +03:00
parent 3c66504fb5
commit 02f326ce38

View file

@ -32,6 +32,13 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Create dummy .env file
run: |
echo "TELEGRAM_API_ID=DUMMY_ID" > .env
echo "TELEGRAM_API_HASH=DUMMY_HASH" >> .env
echo "TELEGRAM_SESSION_STRING=DUMMY_SESSION" >> .env
# Add other required variables with dummy values if needed
- name: Validate Compose file syntax - name: Validate Compose file syntax
run: docker compose config run: docker compose config