mirror of
https://github.com/hazemKrimi/touch-programming.git
synced 2026-05-01 18:20:26 +00:00
Remove footer and update server setup
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user