build(workflow and compose): updated compose file and adding GITHUB_PATH
All checks were successful
/ build (push) Successful in 3m26s
/ deploy (push) Successful in 2m0s

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

View file

@ -77,9 +77,13 @@ jobs:
ssh-keyscan -H -p ${{ secrets.DEPLOY_PORT }} ${{ secrets.DEPLOY_HOST }} > ~/.ssh/known_hosts
printf "Host deploy\nPort ${{ secrets.DEPLOY_PORT }}\nHostname ${{ secrets.DEPLOY_HOST }}\nIdentityFile ~/.ssh/${{ secrets.DEPLOY_USER }}\nUser ${{ secrets.DEPLOY_USER }}" > ~/.ssh/config
unset DOCKER_HOST
docker context create deploy --docker "host=ssh://deploy"
docker context use deploy
echo "$HOME/.nvm/versions/node/v24.15.0/bin/" >> $GITHUB_PATH
- name: Checkout repo
uses: actions/checkout@v6

View file

@ -1,4 +1,12 @@
services:
app:
fbla-frontend:
command: "web"
image: git.devdoes.work/devaine/fbla-cs-competition:app
container_name: fbla
ports:
- 3000:3000
api:
command: "api"
image: git.devdoes.work/devaine/fbla-cs-competition:app
ports:
- 8000:8000