diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index e6f56f23..84708476 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -35,7 +35,7 @@ jobs: ssh-keyscan -H ${{ secrets.SSH_HOST }} > ~/.ssh/known_hosts - name: Connect and pull - run: ssh ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "cd ${{ secrets.WORK_DIR }} && docker compose pull && docker compose up -d && exit" + run: ssh ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "cd ${{ secrets.WORK_DIR }} && docker compose pull && docker compose up -d && docker image prune -f && exit" - name: Cleanup run: rm -rf ~/.ssh diff --git a/package-lock.json b/package-lock.json index 7b065916..8991414b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30,12 +30,14 @@ "@sveltejs/vite-plugin-svelte": "3.1.1", "@types/howler": "2.2.11", "@types/jsonwebtoken": "9.0.6", + "@types/node": "^20.14.5", "eslint": "9.5.0", "eslint-plugin-svelte": "2.40.0", "madge": "7.0.0", "prisma": "5.15.1", "svelte": "5.0.0-next.158", "svelte-check": "3.8.1", + "svelte-eslint-parser": "0.39.1", "typescript": "5.4.5", "vite": "5.3.1" } @@ -641,7 +643,6 @@ }, "node_modules/@clack/prompts/node_modules/is-unicode-supported": { "version": "1.3.0", - "dev": true, "inBundle": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index d3070a89..96aa8853 100644 --- a/package.json +++ b/package.json @@ -51,12 +51,14 @@ "@sveltejs/vite-plugin-svelte": "3.1.1", "@types/howler": "2.2.11", "@types/jsonwebtoken": "9.0.6", + "@types/node": "20.14.5", "eslint": "9.5.0", "eslint-plugin-svelte": "2.40.0", "madge": "7.0.0", "prisma": "5.15.1", "svelte": "5.0.0-next.158", "svelte-check": "3.8.1", + "svelte-eslint-parser": "0.39.1", "typescript": "5.4.5", "vite": "5.3.1" }