Skip to content

Commit baf96ac

Browse files
committed
Replace API checks with Docker verification logic
1 parent 8170272 commit baf96ac

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/auto-merge.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,12 @@ jobs:
1414
with:
1515
fetch-depth: 0
1616

17-
- name: Verify OpenAI API Health
18-
env:
19-
OPENAI_KEY: ${{ secrets.OPENAI_API_KEY }}
17+
- name: Verify Docker Assets
2018
run: |
21-
echo "Pinging OpenAI Systems..."
22-
curl -s -f -H "Authorization: Bearer $OPENAI_KEY" "https://api.openai.com/v1/models" > /dev/null
23-
echo "OpenAI API is Online!"
19+
echo "Ensuring deployment files are intact..."
20+
test -f Dockerfile || { echo "Dockerfile is missing!"; exit 1; }
21+
test -f docker-compose.yml || { echo "docker-compose.yml is missing!"; exit 1; }
22+
echo "Docker configuration found!"
2423
2524
- name: Merge Develop into Main
2625
run: |

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
key: ${{ secrets.SSH_PRIVATE_KEY }}
1818
script: |
1919
echo "Moving to Application Directory..."
20-
cd /opt/bookstack-mcp/chatbot
20+
cd /opt/bookstack-mcp
2121
2222
echo "Pulling latest changes from Git..."
2323
git pull origin Main

0 commit comments

Comments
 (0)