Skip to content

Commit a90b98b

Browse files
committed
docs: add learning resources; ci: gate azure/docker steps when secrets unset; tasks: serve RAG API
1 parent a2fec39 commit a90b98b

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

.github/workflows/ci-cd.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,22 @@ jobs:
3636
- name: Python Compile Check
3737
run: python -m py_compile services/airth/airth_service.py
3838
- name: Azure Login
39+
if: ${{ secrets.AZURE_CLIENT_ID != '' && secrets.AZURE_TENANT_ID != '' && secrets.AZURE_SUBSCRIPTION_ID != '' }}
3940
uses: azure/login@v2
4041
with:
4142
client-id: ${{ secrets.AZURE_CLIENT_ID }}
4243
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
4344
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
4445
- name: Build & Push Main API Image
46+
if: ${{ env.ACR_LOGIN_SERVER != '' }}
4547
run: |
4648
docker build -t $ACR_LOGIN_SERVER/elidoras-codex:${CONTAINER_IMAGE_TAG} -f Dockerfile .
4749
docker tag $ACR_LOGIN_SERVER/elidoras-codex:${CONTAINER_IMAGE_TAG} $ACR_LOGIN_SERVER/elidoras-codex:latest
4850
az acr login --name $(echo $ACR_LOGIN_SERVER | cut -d'.' -f1)
4951
docker push $ACR_LOGIN_SERVER/elidoras-codex:${CONTAINER_IMAGE_TAG}
5052
docker push $ACR_LOGIN_SERVER/elidoras-codex:latest
5153
- name: Build & Push Airth Image
54+
if: ${{ env.ACR_LOGIN_SERVER != '' }}
5255
run: |
5356
docker build -t $ACR_LOGIN_SERVER/elidoras-airth:${CONTAINER_IMAGE_TAG} -f services/airth/Dockerfile .
5457
docker tag $ACR_LOGIN_SERVER/elidoras-airth:${CONTAINER_IMAGE_TAG} $ACR_LOGIN_SERVER/elidoras-airth:latest
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Learning Resources — Poppysellium & Cyberpunk Confessional
2+
3+
Purpose: Provide concise, factual context and references. Avoid graphic details; emphasize safety.
4+
5+
- Psychedelics (LSD and similar)
6+
- Key: visual disturbances, risk of psychosis especially with sleep deprivation/polysubstance use.
7+
- Harm reduction: trusted set/setting, no weapons, avoid mixing, hydrate, seek help early.
8+
- Reference: National Center for Biotechnology Information (NCBI)
9+
- <https://www.ncbi.nlm.nih.gov/>
10+
11+
- Carbon Monoxide (CO)
12+
- Key: odorless gas, displaces oxygen; symptoms include headache, dizziness, confusion.
13+
- Action: ensure ventilation; move to fresh air; seek medical attention immediately.
14+
- Reference: Mayo Clinic
15+
- <https://www.mayoclinic.org/>
16+
17+
- Donner Party (Historical Context)
18+
- Key: 1846–47 Sierra Nevada entrapment; survival under extreme conditions.
19+
- Use: contextual footnote only; avoid sensationalism.
20+
- Reference: Wikipedia overview
21+
- <https://en.wikipedia.org/wiki/Donner_Party>
22+
23+
Notes
24+
25+
- Keep tone factual and non-graphic.
26+
- Align with TEC Axioms (especially 4, 7, 8).
27+
- Place footnotes at end of the article to avoid interrupting flow.

0 commit comments

Comments
 (0)