This repository was archived by the owner on Dec 1, 2023. It is now read-only.
File tree 5 files changed +19
-18
lines changed
5 files changed +19
-18
lines changed Original file line number Diff line number Diff line change @@ -86,14 +86,14 @@ jobs:
86
86
release_id : ${{ steps.create_release.outputs.id }}
87
87
assets_path : |
88
88
/home/runner/work/nas-tools/nas-tools/releases/
89
- #
90
- # - name: Send telegram message (release informations)
91
- # uses: appleboy/telegram-action@master
92
- # with:
93
- # to: ${{ secrets.TELEGRAM_TO }}
94
- # token: ${{ secrets.TELEGRAM_TOKEN }}
95
- # format: markdown
96
- # message: |
97
- # *v${{ env.app_version }}*
98
89
99
- # ${{ github.event.commits[0].message }}
90
+ - name : Send telegram message (release informations)
91
+ uses : appleboy/telegram-action@master
92
+ with :
93
+ to : ${{ secrets.TELEGRAM_TO }}
94
+ token : ${{ secrets.TELEGRAM_TOKEN }}
95
+ format : markdown
96
+ message : |
97
+ *v${{ env.app_version }}*
98
+
99
+ ${{ github.event.commits[0].message }}
Original file line number Diff line number Diff line change 3
3
workflow_dispatch :
4
4
push :
5
5
branches :
6
- - dev
6
+ - master
7
7
paths :
8
8
- version.py
9
9
- .github/workflows/build.yml
51
51
linux/amd64
52
52
push : true
53
53
tags : |
54
- ${{ secrets.DOCKER_USERNAME }}/nas-tools:${{ env.app_version }}-beta
54
+ ${{ secrets.DOCKER_USERNAME }}/nas-tools:latest
55
+ ${{ secrets.DOCKER_USERNAME }}/nas-tools:${{ env.app_version }}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ RUN apk update \
10
10
&& chmod +x /usr/bin/mc \
11
11
&& pip install --upgrade pip setuptools wheel \
12
12
&& pip install cython \
13
- && pip install -r https://raw.githubusercontent.com/NAStool/nas-tools/dev /requirements.txt \
13
+ && pip install -r https://raw.githubusercontent.com/NAStool/nas-tools/master /requirements.txt \
14
14
&& apk del libffi-dev \
15
15
&& npm install pm2 -g \
16
16
&& rm -rf /tmp/* /root/.cache /var/cache/apk/*
@@ -19,7 +19,7 @@ ENV LANG="C.UTF-8" \
19
19
NASTOOL_CONFIG="/config/config.yaml" \
20
20
NASTOOL_AUTO_UPDATE=true \
21
21
NASTOOL_CN_UPDATE=true \
22
- NASTOOL_VERSION=dev \
22
+ NASTOOL_VERSION=master \
23
23
PS1="\u @\h :\w \$ " \
24
24
REPO_URL="https://github.com/NAStool/nas-tools.git" \
25
25
PYPI_MIRROR="https://pypi.tuna.tsinghua.edu.cn/simple" \
@@ -34,7 +34,7 @@ RUN python_ver=$(python3 -V | awk '{print $2}') \
34
34
&& echo 'fs.inotify.max_user_watches=524288' >> /etc/sysctl.conf \
35
35
&& echo 'fs.inotify.max_user_instances=524288' >> /etc/sysctl.conf \
36
36
&& git config --global pull.ff only \
37
- && git clone -b dev ${REPO_URL} ${WORKDIR} --depth=1 --recurse-submodule \
37
+ && git clone -b master ${REPO_URL} ${WORKDIR} --depth=1 --recurse-submodule \
38
38
&& git config --global --add safe.directory ${WORKDIR} \
39
39
&& chmod +x ${WORKDIR}/docker/entrypoint.sh
40
40
EXPOSE 3000
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ if [ "${NASTOOL_AUTO_UPDATE}" = "true" ]; then
28
28
git clean -dffx
29
29
git fetch --depth 1 origin ${branch}
30
30
git reset --hard origin/${branch}
31
- chmod +x docker/entrypoint.sh
32
31
33
32
if [ $? -eq 0 ]; then
34
33
echo " 更新成功..."
Original file line number Diff line number Diff line change @@ -3502,8 +3502,9 @@ def get_search_result(self, data=None):
3502
3502
season = int (filter_season .replace ("S" , "" )) if filter_season else None
3503
3503
)
3504
3504
# One Piece S01-S21 E01-E1028 1999 1080p WEB-DL H.264 -@OPFansMaplesnow
3505
- except :
3506
- pass
3505
+ except Exception as e :
3506
+ print (str (e ))
3507
+
3507
3508
SearchResults [title_string ] = {
3508
3509
"key" : item .ID ,
3509
3510
"title" : item .TITLE ,
You can’t perform that action at this time.
0 commit comments