fbla-cs-competition/start.bash
devaine 19d6ac7f6e
All checks were successful
/ build (push) Successful in 2m38s
/ deploy (push) Successful in 1m49s
chore(workflow): adding more secrets + variables for deplotment
2026-05-11 17:52:16 -05:00

9 lines
216 B
Bash
Executable file

#!/bin/bash
echo "$@"
if [[ $1 == "web" ]]; then
cd ./frontend/ && npm run start
elif [[ $1 == "api" ]]; then
export | grep "AI_API_KEY" >>./api/.env
cd ./api/src && source ../venv/bin/activate && fastapi run
fi