Compare commits
17 Commits
6ae35ec636
...
renovate/p
| Author | SHA1 | Date | |
|---|---|---|---|
|
67c85aebf9
|
|||
| b9088d932c | |||
|
8c1d044f79
|
|||
| f688ee035f | |||
|
7fd5d93b6d
|
|||
|
d7ad90a1d5
|
|||
| ac5abffd74 | |||
|
1c43c62523
|
|||
| bef0a4d593 | |||
|
bf7739228f
|
|||
| 270934613f | |||
|
5cea64626c
|
|||
| 70d72759ce | |||
|
c537874adb
|
|||
|
b496d14cf7
|
|||
|
c2de1abfd2
|
|||
|
635d5d5113
|
@@ -75,8 +75,13 @@ jobs:
|
|||||||
git config --local user.signingkey ~/.ssh/id_ed25519
|
git config --local user.signingkey ~/.ssh/id_ed25519
|
||||||
git config --local gpg.format ssh
|
git config --local gpg.format ssh
|
||||||
git config --local commit.gpgsign true
|
git config --local commit.gpgsign true
|
||||||
git commit -a -m "yt-dlp-bot: deploy update to ${{ needs.build-and-push.outputs.sha_short }}"
|
|
||||||
|
|
||||||
|
if [ -n "$(git status --porcelain)" ]; then
|
||||||
|
git commit -a -m "yt-dlp-bot: deploy update to ${{ needs.build-and-push.outputs.sha_short }}"
|
||||||
|
else
|
||||||
|
echo "No changes to commit, skipping..."
|
||||||
|
fi
|
||||||
|
exit 0
|
||||||
- name: Push changes
|
- name: Push changes
|
||||||
uses: ad-m/github-push-action@v1.0.0
|
uses: ad-m/github-push-action@v1.0.0
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM python:3.14.2-alpine3.22
|
FROM python:3.14.3-alpine3.22
|
||||||
COPY ./app /app
|
COPY ./app /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN apk add ffmpeg deno
|
RUN apk add ffmpeg deno
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
discord.py==2.6.4
|
discord.py==2.7.0
|
||||||
python-dotenv==1.2.1
|
python-dotenv==1.2.2
|
||||||
yt-dlp==2025.12.8
|
yt-dlp==2026.2.21
|
||||||
6
flake.lock
generated
6
flake.lock
generated
@@ -2,11 +2,11 @@
|
|||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751498133,
|
"lastModified": 1768875095,
|
||||||
"narHash": "sha256-QWJ+NQbMU+NcU2xiyo7SNox1fAuwksGlQhpzBl76g1I=",
|
"narHash": "sha256-dYP3DjiL7oIiiq3H65tGIXXIT1Waiadmv93JS0sS+8A=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "d55716bb59b91ae9d1ced4b1ccdea7a442ecbfdb",
|
"rev": "ed142ab1b3a092c4d149245d0c4126a5d7ea00b0",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
12
flake.nix
12
flake.nix
@@ -25,14 +25,26 @@
|
|||||||
pkgs.python314
|
pkgs.python314
|
||||||
pkgs.virtualenv
|
pkgs.virtualenv
|
||||||
pkgs.ffmpeg_6
|
pkgs.ffmpeg_6
|
||||||
|
pkgs.deno
|
||||||
|
pkgs.go
|
||||||
|
pkgs.yt-dlp
|
||||||
];
|
];
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
|
if [ -f .env ]; then
|
||||||
|
set -a
|
||||||
|
source .env
|
||||||
|
set +a
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! -d .venv ]; then
|
if [ ! -d .venv ]; then
|
||||||
echo "Creating Python virtual environment in .venv"
|
echo "Creating Python virtual environment in .venv"
|
||||||
python3 -m venv .venv
|
python3 -m venv .venv
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if compgen -G "app/*.py" > /dev/null; then
|
||||||
.venv/bin/pip install -r ./app/requirements.txt
|
.venv/bin/pip install -r ./app/requirements.txt
|
||||||
source .venv/bin/activate
|
source .venv/bin/activate
|
||||||
|
fi
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user