Skip to content

Commit

Permalink
Update WACI-docim-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
drzo authored Aug 2, 2024
1 parent 0ed5cb8 commit 2e5de0b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/WACI-docim-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,18 @@ jobs:
- name: List scripts directory contents
run: ls -al scripts

- name: Create db.env file
run: |
echo 'DB_HOST=db
DB_PORT=3306
MYSQL_DATABASE=whatsapp
MYSQL_USER=testuser
MYSQL_PASSWORD=testpass
MYSQL_ROOT_PASSWORD=testpass' > db.env
- name: List db.env file
run: ls -al db.env

- name: Pull coreapp and waweb images
run: |
docker pull docker.whatsapp.biz/coreapp:v${{ env.WA_API_VERSION }}
Expand Down Expand Up @@ -137,6 +149,9 @@ jobs:
- name: List Docker Compose file
run: cat docker-compose.yml

- name: List directory contents to verify db.env
run: ls -al

- name: Run Docker Compose
run: docker-compose up -d

Expand Down

0 comments on commit 2e5de0b

Please sign in to comment.