Compare commits

...

6 Commits
main ... dev

Author SHA1 Message Date
liubocheng 74cc9d7436 dev:修改返回码
Deploy to Test / deploy (push) Successful in 47s Details
2025-04-01 00:49:14 +08:00
liubocheng a160159f1f dev:修改组
Deploy to Test / deploy (push) Successful in 34s Details
2025-04-01 00:47:40 +08:00
liubocheng 31fc538f0f 1
Deploy to Test / deploy (push) Has been cancelled Details
2025-04-01 00:40:20 +08:00
liubocheng 6b9d9e604e 不更新
Deploy to Test / deploy (push) Failing after 7s Details
2025-04-01 00:35:13 +08:00
liubocheng 4d94b3cbdb dev:还原
Deploy to Test / deploy (push) Failing after 9s Details
2025-04-01 00:27:40 +08:00
liubocheng 2355a1a4dd dev:修改
Deploy to Test / deploy (push) Failing after 7s Details
2025-04-01 00:22:24 +08:00
3 changed files with 5 additions and 10 deletions

View File

@ -19,13 +19,8 @@ jobs:
- name: Replace Debian APT sources - name: Replace Debian APT sources
run: | run: |
tee /etc/apt/sources.list <<EOF sed -i 's/deb.debian.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list \
# 清华大学 Debian 11 Bullseye 镜像 && sed -i 's/security.debian.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free
EOF
- name: Install SSH tools - name: Install SSH tools
run: | run: |

View File

@ -16,8 +16,8 @@ RUN curl -sS https://getcomposer.org/installer | php -- \
--filename=composer --filename=composer
# 创建非 root 用户(推荐与宿主机用户 UID/GID 一致) # 创建非 root 用户(推荐与宿主机用户 UID/GID 一致)
ARG USER_ID=1003 # 宿主机 deploy-user 的 UID ARG USER_ID=1001 # 宿主机 deploy-user 的 UID
ARG GROUP_ID=1003 # 宿主机 deploy-user 的 GID ARG GROUP_ID=1001 # 宿主机 deploy-user 的 GID
RUN groupadd -g ${GROUP_ID} appuser \ RUN groupadd -g ${GROUP_ID} appuser \
&& useradd -u ${USER_ID} -g appuser -m -d /home/appuser -s /bin/bash appuser && useradd -u ${USER_ID} -g appuser -m -d /home/appuser -s /bin/bash appuser

View File

@ -18,5 +18,5 @@ Route::middleware('auth:api')->get('/user', function (Request $request) {
}); });
Route::get('/test', function () { Route::get('/test', function () {
return ["msg" => "success", "data" => [], "status" => 0]; return ["msg" => "success", "data" => [], "status" => 200];
}); });