ci: Add warning if ANTHROPIC_API_KEY not set
All checks were successful
Deploy Dimension47 / deploy (push) Successful in 33s
All checks were successful
Deploy Dimension47 / deploy (push) Successful in 33s
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -50,6 +50,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd /opt/dimension47/server
|
cd /opt/dimension47/server
|
||||||
grep -q "CORS_ORIGINS" .env || echo 'CORS_ORIGINS=https://dimension47.de,http://localhost:5173' >> .env
|
grep -q "CORS_ORIGINS" .env || echo 'CORS_ORIGINS=https://dimension47.de,http://localhost:5173' >> .env
|
||||||
|
grep -q "ANTHROPIC_API_KEY=\"sk-" .env || echo "WARNING: ANTHROPIC_API_KEY not set - translations will not work"
|
||||||
|
|
||||||
- name: Restart Server
|
- name: Restart Server
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user