diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 4ddd332..4348261 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -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 diff --git a/client/src/App.tsx b/client/src/App.tsx index e075456..536109a 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -5,21 +5,16 @@ import Languages from 'pages/Languages'; import Typing from 'pages/Typing'; import NotFound from 'pages/NotFound'; -import Footer from 'components/Footer'; - function App() { return ( - <> -
- - } /> - } /> - } /> - } /> - -
-