Remove footer and update server setup

This commit is contained in:
2025-04-12 11:08:03 +01:00
parent b875005aec
commit 49091c1a9d
7 changed files with 25 additions and 47 deletions
+2 -3
View File
@@ -33,6 +33,7 @@ jobs:
- name: Build server
run: |
cd server
echo "LLM_MODEL=llama3.2:1b\nMAX_LINEX=15\nPORT=5000" > .env
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o executable
- name: Setup SSH
@@ -44,9 +45,7 @@ jobs:
env:
SSH_KEY: ${{ secrets.DEPLOY_SSH_KEY }}
run: |
# mkdir -p ~/.ssh
# echo "$SSH_KEY" > ~/.ssh/id_deploy
# chmod 600 ~/.ssh/id_deploy
ssh-keyscan -H hazemkrimi.tech >> ~/.ssh/known_hosts
rsync -avz --delete client/build/* deploy@hazemkrimi.tech:/var/www/touch-programming.hazemkrimi.tech/public
rsync -avz --delete server/executable deploy@hazemkrimi.tech:/var/www/touch-programming.hazemkrimi.tech/api
rsync -avz --delete server/.env deploy@hazemkrimi.tech:/var/www/touch-programming.hazemkrimi.tech/api