diff --git a/.github/workflows/deploy-manual.yml b/.github/workflows/deploy-manual.yml new file mode 100644 index 0000000..c3619b0 --- /dev/null +++ b/.github/workflows/deploy-manual.yml @@ -0,0 +1,25 @@ +name: Deploy-manual + +on: + workflow_dispatch: + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: executing remote ssh commands using password + uses: appleboy/ssh-action@v1.0.3 + with: + host: ${{ secrets.SERVER_HOST }} + username: ${{ secrets.SERVER_USERNAME }} + key: ${{ secrets.SERVER_KEY }} + passphrase: ${{ secrets.SERVER_PASSPHRASE }} + script_stop: true + script: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin + cd bingusboingus + docker compose pull + docker compose up -d + + ###ssh sachen + # https://github.com/appleboy/ssh-action diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 78ed819..de3ca36 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -59,6 +59,7 @@ jobs: passphrase: ${{ secrets.SERVER_PASSPHRASE }} script_stop: true script: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin cd bingusboingus docker compose pull docker compose up -d diff --git a/CHANGELOG.md b/CHANGELOG.md index 37e8709..5f7822e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## [1.8.2](https://github.com/BingusBoingus-Developer-Team/BingusBoingus/compare/v1.8.1...v1.8.2) (2024-05-07) + + +### Bug Fixes + +* **deps:** bun lock file ([ead02c5](https://github.com/BingusBoingus-Developer-Team/BingusBoingus/commit/ead02c59f281a7cf31212a9fc56561113a92ee68)) + +## [1.8.1](https://github.com/BingusBoingus-Developer-Team/BingusBoingus/compare/v1.8.0...v1.8.1) (2024-05-07) + + +### Bug Fixes + +* deps issues, types, tests ([#100](https://github.com/BingusBoingus-Developer-Team/BingusBoingus/issues/100)) ([245bb9e](https://github.com/BingusBoingus-Developer-Team/BingusBoingus/commit/245bb9edc4d7cad3c5cc6c32df77e4ac3979b1c6)) + ## [1.8.0](https://github.com/BingusBoingus-Developer-Team/BingusBoingus/compare/v1.7.0...v1.8.0) (2024-05-07) diff --git a/bun.lockb b/bun.lockb index d10f90d..7d29c12 100644 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/dockerfiles/Dockerfile.prod b/dockerfiles/Dockerfile.prod index cdec9a8..2400cc4 100644 --- a/dockerfiles/Dockerfile.prod +++ b/dockerfiles/Dockerfile.prod @@ -1,5 +1,5 @@ # NestJS default dockerfile -FROM node:16-alpine as builder +FROM node:20-buster as builder ENV NODE_ENV build @@ -16,7 +16,7 @@ RUN npm run build \ # --- -FROM node:16-alpine +FROM node:20-buster ENV NODE_ENV production diff --git a/package-lock.json b/package-lock.json index ddaec40..e50ded2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "bingusboingus", - "version": "1.8.0", + "version": "1.8.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "bingusboingus", - "version": "1.8.0", + "version": "1.8.2", "license": "MIT", "dependencies": { "@nestjs/cli": "^10.3.2", @@ -4198,9 +4198,9 @@ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" }, "node_modules/electron-to-chromium": { - "version": "1.4.757", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.757.tgz", - "integrity": "sha512-jftDaCknYSSt/+KKeXzH3LX5E2CvRLm75P3Hj+J/dv3CL0qUYcOt13d5FN1NiL5IJbbhzHrb3BomeG2tkSlZmw==" + "version": "1.4.758", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.758.tgz", + "integrity": "sha512-/o9x6TCdrYZBMdGeTifAP3wlF/gVT+TtWJe3BSmtNh92Mw81U9hrYwW9OAGUh+sEOX/yz5e34sksqRruZbjYrw==" }, "node_modules/emittery": { "version": "0.13.1", @@ -4235,9 +4235,9 @@ } }, "node_modules/enhanced-resolve": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.16.0.tgz", - "integrity": "sha512-O+QWCviPNSSLAD9Ucn8Awv+poAkqn3T1XY5/N7kR7rQO9yfSGWkYZDwpJ+iKF7B8rxaQKWngSqACpgzeapSyoA==", + "version": "5.16.1", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.16.1.tgz", + "integrity": "sha512-4U5pNsuDl0EhuZpq46M5xPslstkviJuhrdobaRDBk2Jy2KO37FDAJl4lb2KlNabxT0m4MTK2UHNrsAcphE8nyw==", "dependencies": { "graceful-fs": "^4.2.4", "tapable": "^2.2.0" @@ -7874,12 +7874,9 @@ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" }, "node_modules/semver": { - "version": "7.6.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", - "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", - "dependencies": { - "lru-cache": "^6.0.0" - }, + "version": "7.6.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.1.tgz", + "integrity": "sha512-f/vbBsu+fOiYt+lmwZV0rVwJScl46HppnOA1ZvIuBWKOTlllpyJ3bfVax76/OrhCH38dyxoDIA8K7uB963IYgA==", "bin": { "semver": "bin/semver.js" }, @@ -7887,22 +7884,6 @@ "node": ">=10" } }, - "node_modules/semver/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/semver/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - }, "node_modules/send": { "version": "0.18.0", "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", diff --git a/package.json b/package.json index 1f369e1..091362a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bingusboingus", - "version": "1.8.0", + "version": "1.8.2", "description": "Hey look it's Bingus.... or Boingus?? OR BOTH??", "main": "src/main.ts", "scripts": {