From 9766386e93c61c4c02c2e708d8c7de1f9a4b7aec Mon Sep 17 00:00:00 2001 From: "Dest.Com" <37459465+DestroyCom@users.noreply.github.com> Date: Wed, 23 Apr 2025 11:29:37 +0200 Subject: [PATCH 1/2] chore: upgrade repo --- .github/workflows/dependabot_post_merge.yml | 4 ++++ package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dependabot_post_merge.yml b/.github/workflows/dependabot_post_merge.yml index e345e60..68e1fa0 100644 --- a/.github/workflows/dependabot_post_merge.yml +++ b/.github/workflows/dependabot_post_merge.yml @@ -5,6 +5,10 @@ on: branches: - master +permissions: + contents: read + actions: write + jobs: check_for_dependabot_changes: runs-on: ubuntu-latest diff --git a/package.json b/package.json index bf94398..39d023b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stroycord", - "version": "1.3.0", + "version": "1.4.0", "description": "A discord bot to play music in VC", "main": "src/Bot.ts", "scripts": { From c0fb78e3358860691e9a62f839774f6cab1a185e Mon Sep 17 00:00:00 2001 From: "Dest.Com" <37459465+DestroyCom@users.noreply.github.com> Date: Wed, 23 Apr 2025 11:36:31 +0200 Subject: [PATCH 2/2] fix: yt-dlp not downloaded in production --- StroyCord.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StroyCord.Dockerfile b/StroyCord.Dockerfile index 0d87667..0bd346c 100644 --- a/StroyCord.Dockerfile +++ b/StroyCord.Dockerfile @@ -20,6 +20,6 @@ RUN apk update && apk add python3 make g++ ffmpeg COPY --from=build /build/dist ./dist COPY --from=build /build/package*.json ./ -RUN npm ci --only=production --ignore-scripts +RUN npm ci --only=production CMD ["npm","run","start"] \ No newline at end of file