chore(workflows): nevermind, corrected it
All checks were successful
/ build (push) Successful in 2m40s
/ deploy (push) Successful in 1m48s

This commit is contained in:
devaine 2026-05-12 13:38:11 -05:00
commit ab20e8e285
Signed by: devaine
GPG key ID: 954B1DCAC6FF84EE
2 changed files with 11 additions and 5 deletions

View file

@ -76,6 +76,10 @@ jobs:
DEPLOY_PORT: ${{ secrets.DEPLOY_PORT }} DEPLOY_PORT: ${{ secrets.DEPLOY_PORT }}
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }} DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
DEPLOY_USER: ${{ secrets.DEPLOY_USER }} DEPLOY_USER: ${{ secrets.DEPLOY_USER }}
API_PORT: ${{ secrets.API_PORT }}
FRONTEND_PORT: ${{ secrets.FRONTEND_PORT }}
AI_API_KEY: ${{ secrets.AI_API_KEY }}
run: | run: |
# Begin setting up SSH w/ Secrets # Begin setting up SSH w/ Secrets
install -m 600 -D /dev/null ~/.ssh/$DEPLOY_USER install -m 600 -D /dev/null ~/.ssh/$DEPLOY_USER
@ -88,9 +92,11 @@ jobs:
docker context use deploy docker context use deploy
# Add secrets to the .env file # Add secrets to the .env file
echo ${{ secrets.API_PORT }} >> .env echo <<EOF > .env
echo ${{ secrets.FRONTEND_PORT }} >> .env "API_PORT=$API_PORT"
echo ${{ secrets.AI_API_KEY }} >> .env "FRONTEND_PORT=$FRONTEND_PORT"
"AI_API_KEY=$AI_API_KEY"
EOF
# Check to see if we have checked out the repo. # Check to see if we have checked out the repo.
docker compose down docker compose down

View file

@ -17,9 +17,9 @@ COPY frontend/ .
RUN npm run build RUN npm run build
# NOTE: Backend setup # NOTE: Backend setup
FROM node:25-alpine AS backend-build FROM python:alpine AS backend-build
RUN apk add --no-cache python3 py3-pip #RUN apk add --no-cache python3 py3-pip
WORKDIR /app/api WORKDIR /app/api