build(workflow and compose): updated compose file and adding GITHUB_PATH
This commit is contained in:
parent
429fe8a712
commit
1974661fab
2 changed files with 14 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue