Skip to content

Commit

Permalink
explicitly set config file
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickrb committed Apr 4, 2024
1 parent 8da2350 commit 25a77e9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ jobs:
uses: actions/checkout@v2
- name: Set up environment variables
run: |
echo "DB_USER=${{ secrets.DB_USER }}" >> .env
echo "DB_PASSWORD=${{ secrets.DB_PASSWORD }}" >> .env
echo "DB_NAME=${{ secrets.DB_NAME }}" >> .env
echo "MYSQL_USER=cloudlog" >> .env
echo "MYSQL_PASSWORD=cloudlogpassword" >> .env
echo "MYSQL_DATABASE=cloudlog" >> .env
echo "MYSQL_ROOT_PASSWORD=rootpassword" >> .env
echo "MYSQL_HOST=db" >> .env
echo "MYSQL_PORT=3306" >> .env
- name: Build and run Docker compose
run: |
docker-compose up -d
Expand Down

0 comments on commit 25a77e9

Please sign in to comment.