mirror of
https://github.com/lan-tianxiang/JS_TOOL.git
synced 2025-07-14 20:12:35 +08:00
.
This commit is contained in:
11
.github/ISSUE_TEMPLATE/New_Funtion.md
vendored
Executable file
11
.github/ISSUE_TEMPLATE/New_Funtion.md
vendored
Executable file
@ -0,0 +1,11 @@
|
||||
---
|
||||
name: 功能需求
|
||||
about: 想要增加什么样的功能?
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
---
|
||||
|
||||
|
||||
### 想要增加什么样的功能或者哪里存在不足之处呢?
|
||||
|
69
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Executable file
69
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Executable file
@ -0,0 +1,69 @@
|
||||
---
|
||||
name: BUG 反馈
|
||||
about: 出现bug
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
---
|
||||
|
||||
<!--
|
||||
反馈前请阅读
|
||||
|
||||
- 常见问题: https://github.com/lan-tianxiang/js_tool/wiki/FAQ
|
||||
- 使用教程: https://github.com/lan-tianxiang/js_tool/wiki/Documents
|
||||
- 请先在 issues 页面搜索你的问题,包括已关闭的issue,很可能已被解决。
|
||||
-->
|
||||
|
||||
<!-- 这是隐藏的信息 -->
|
||||
<!-- 👆这样括起来的信息将被隐藏,填写时注意不要写在里面。 -->
|
||||
|
||||
<!-- 点击编辑器上方的 preview 可预览效果 -->
|
||||
|
||||
<!--
|
||||
⚠️请_完整_填写以下模板描述问题,否则反馈将会被系统关闭。
|
||||
-->
|
||||
|
||||
## 1.关于你要提交的问题
|
||||
|
||||
Q:是否搜索了issue(包括已关闭的issue)
|
||||
- [ ] 没有类似的issue <!-- 将中括号内的空格替换为 "x" ,即为选中 -->
|
||||
|
||||
Q:是否阅读了常见问题
|
||||
- [ ] 已阅读常见问题,未找到相关说明 <!-- 将中括号内的空格替换为 "x" ,即为选中 -->
|
||||
|
||||
Q:是否仔细阅读了教程
|
||||
<!-- 请先确认:项目存在这么久了,确实没有其他人提出你想提出的问题。 -->
|
||||
- [ ] 已仔细阅读教程 <!-- 将中括号内的空格替换为 "x" ,即为选中 -->
|
||||
|
||||
|
||||
## 2. 使用什么平台?
|
||||
<!-- 将中括号内的空格替换为 "x" ,即为选中 -->
|
||||
- [ ] Linux
|
||||
- [ ] Docker
|
||||
|
||||
## 3. 是否用一键脚本部署的?
|
||||
<!-- 将中括号内的空格替换为 "x" ,即为选中 -->
|
||||
- [ ] Yes
|
||||
- [ ] No
|
||||
|
||||
## 4. 有没有试过用修复脚本来修复过?
|
||||
<!-- 将中括号内的空格替换为 "x" ,即为选中 -->
|
||||
- [ ] Yes
|
||||
- [ ] No
|
||||
|
||||
|
||||
## 5. 详细叙述
|
||||
### (1) 具体问题
|
||||
A:
|
||||
|
||||
|
||||
### (2) 详细日志
|
||||
A:
|
||||
|
||||
|
||||
|
||||
<!-- 如果是运行以jd_开头并以.sh结尾的脚本,在日志出存在错误,需要额外提供以下信息 -->
|
||||
<!-- 如果是运行以jd_开头并以.sh结尾的脚本,在日志出存在错误,需要额外提供以下信息 -->
|
||||
<!-- 如果是运行以jd_开头并以.sh结尾的脚本,在日志出存在错误,需要额外提供以下信息 -->
|
||||
|
||||
|
BIN
.github/textbook/Panel1.png
vendored
Executable file
BIN
.github/textbook/Panel1.png
vendored
Executable file
Binary file not shown.
41
.github/workflows/Built_JS_Tool_To_Docker.yml
vendored
Executable file
41
.github/workflows/Built_JS_Tool_To_Docker.yml
vendored
Executable file
@ -0,0 +1,41 @@
|
||||
name: Built_JS_Tool_To_Docker
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '30 */4 * * *'
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ secrets.DockerHub_ID }}
|
||||
password: ${{ secrets.DockerHub_PASSWORD }}
|
||||
|
||||
- name: Build & Push
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: ./docker/docker/
|
||||
platforms: linux/amd64,linux/arm64/v8,linux/arm/v7,linux/arm/v6,linux/ppc64le
|
||||
push: true
|
||||
tags: lantianxiang1/js_tool:A1
|
||||
- name: Delete Workflow Runs
|
||||
uses: Mattraks/delete-workflow-runs@main
|
||||
with:
|
||||
token: ${{ github.token }}
|
||||
repository: ${{ github.repository }}
|
||||
retain_days: 1
|
||||
keep_minimum_runs: 0
|
||||
|
29
.github/workflows/Sync_JD_Shell_To_Gitee.yml.bak
vendored
Executable file
29
.github/workflows/Sync_JD_Shell_To_Gitee.yml.bak
vendored
Executable file
@ -0,0 +1,29 @@
|
||||
name: Sync_JD_Shell_To_Gitee
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '1,6,11,16,21,26,31,36,41,46,51,55 * * * *'
|
||||
jobs:
|
||||
sync:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 3
|
||||
steps:
|
||||
- name: Sync to Gitee
|
||||
uses: wearerequired/git-mirror-action@master
|
||||
env:
|
||||
# 注意在 Settings->Secrets 配置 GITEE_RSA_PRIVATE_KEY
|
||||
SSH_PRIVATE_KEY: ${{ secrets.RSA_PRIVATE_KEY }}
|
||||
with:
|
||||
# 注意替换为你的 GitHub 源仓库地址
|
||||
source-repo: git@github.com:lan-tianxiang/js_tool.git
|
||||
# 注意替换为你的 Gitee 目标仓库地址
|
||||
destination-repo: git@gitee.com:highdimen/js_tool.git
|
||||
|
||||
- name: Delete Workflow Runs
|
||||
uses: Mattraks/delete-workflow-runs@main
|
||||
with:
|
||||
token: ${{ github.token }}
|
||||
repository: ${{ github.repository }}
|
||||
retain_days: 1
|
||||
keep_minimum_runs: 0
|
||||
|
46
.github/workflows/Sync_JD_Shell_v3_From_Gitee.yml.bak
vendored
Executable file
46
.github/workflows/Sync_JD_Shell_v3_From_Gitee.yml.bak
vendored
Executable file
@ -0,0 +1,46 @@
|
||||
name: Sync_JD_Shell_v3_From_Gitee
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- v3
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '*/8 * * * *'
|
||||
jobs:
|
||||
sync:
|
||||
runs-on: ubuntu-18.04
|
||||
if: github.repository == 'lan-tianxiang/js_tool'
|
||||
timeout-minutes: 3
|
||||
steps:
|
||||
- name: Init Build Dependencies
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
run: |
|
||||
sudo -E rm -rf /etc/apt/sources.list.d
|
||||
sudo -E apt-get update -y
|
||||
sudo -E apt-get install -y build-essential git git-core curl wget
|
||||
sudo -E apt-get clean -y
|
||||
git config --global user.name 'lan-tianxiang' && git config --global user.email 'highdimen@github.com'
|
||||
- name: Prepare Key
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo -e "${{ secrets.RSA_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
||||
chmod 600 ~/.ssh/id_rsa
|
||||
ssh-keyscan gitee.com > ~/.ssh/known_hosts
|
||||
- name: Clone Master
|
||||
run: |
|
||||
git clone -b v3 git@gitee.com:highdimen/js_tool.git v3
|
||||
- name: Push Master
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
directory: v3
|
||||
github_token: ${{ secrets.HUB_TOKEN }}
|
||||
branch: v3
|
||||
force : true
|
||||
- name: Delete Workflow Runs
|
||||
uses: Mattraks/delete-workflow-runs@main
|
||||
with:
|
||||
token: ${{ github.token }}
|
||||
repository: ${{ github.repository }}
|
||||
retain_days: 1
|
||||
keep_minimum_runs: 0
|
52
.github/workflows/Sync_JD_Shell_v3_To_Gitee.yml.bak
vendored
Executable file
52
.github/workflows/Sync_JD_Shell_v3_To_Gitee.yml.bak
vendored
Executable file
@ -0,0 +1,52 @@
|
||||
name: Sync_JD_Shell_v3_To_Gitee
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- v3
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
sync:
|
||||
runs-on: ubuntu-18.04
|
||||
if: github.repository == 'lan-tianxiang/js_tool'
|
||||
timeout-minutes: 3
|
||||
steps:
|
||||
- name: Init Build Dependencies
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
run: |
|
||||
sudo -E rm -rf /etc/apt/sources.list.d
|
||||
sudo -E apt-get update -y
|
||||
sudo -E apt-get install -y build-essential git git-core curl wget
|
||||
sudo -E apt-get clean -y
|
||||
git config --global user.name 'lan-tianxiang' && git config --global user.email 'highdimen@gitee.com'
|
||||
- name: Prepare Key
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo -e "${{ secrets.RSA_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
||||
chmod 600 ~/.ssh/id_rsa
|
||||
ssh-keyscan github.com > ~/.ssh/known_hosts
|
||||
- name: Clone Master
|
||||
run: |
|
||||
git clone -b v3 git@github.com:lan-tianxiang/js_tool.git v3
|
||||
- name: Prepare Key
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo -e "${{ secrets.RSA_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
||||
chmod 600 ~/.ssh/id_rsa
|
||||
ssh-keyscan gitee.com > ~/.ssh/known_hosts
|
||||
- name: push Master
|
||||
run: |
|
||||
cd v3
|
||||
perl -i -pe "s|url \= git\@github.com:lan-tianxiang\/jd_shell.git|url \= git\@gitee.com:highdimen\/jd_shell.git|g" .git/config
|
||||
cat .git/config
|
||||
echo "## UpdateTime: "$(date) >> jd.sh
|
||||
git add .
|
||||
git commit -m "update"
|
||||
git push -f
|
||||
- name: Delete Workflow Runs
|
||||
uses: Mattraks/delete-workflow-runs@main
|
||||
with:
|
||||
token: ${{ github.token }}
|
||||
repository: ${{ github.repository }}
|
||||
retain_days: 1
|
||||
keep_minimum_runs: 0
|
45
.github/workflows/Sync_Js_Tool_A1_From_Gitee.yml
vendored
Executable file
45
.github/workflows/Sync_Js_Tool_A1_From_Gitee.yml
vendored
Executable file
@ -0,0 +1,45 @@
|
||||
name: Sync_Js_Tool_From_Gitee
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- A1
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '*/10 * * * *'
|
||||
jobs:
|
||||
sync:
|
||||
runs-on: ubuntu-18.04
|
||||
timeout-minutes: 5
|
||||
steps:
|
||||
- name: Init Build Dependencies
|
||||
env:
|
||||
DEBIAN_FRONTEND: noninteractive
|
||||
run: |
|
||||
sudo -E rm -rf /etc/apt/sources.list.d
|
||||
sudo -E apt-get update -y
|
||||
sudo -E apt-get install -y build-essential git git-core curl wget
|
||||
sudo -E apt-get clean -y
|
||||
git config --global user.name 'lan-tianxiang' && git config --global user.email 'highdimen@github.com'
|
||||
- name: Prepare Key
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo -e "${{ secrets.RSA_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
||||
chmod 600 ~/.ssh/id_rsa
|
||||
ssh-keyscan gitee.com > ~/.ssh/known_hosts
|
||||
- name: Clone A1 From js_tool
|
||||
run: |
|
||||
git clone -b A1 git@gitee.com:highdimen/js_tool.git A1
|
||||
- name: Push A1
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
directory: A1
|
||||
github_token: ${{ secrets.HUB_TOKEN }}
|
||||
branch: A1
|
||||
force : true
|
||||
- name: Delete Workflow Runs
|
||||
uses: Mattraks/delete-workflow-runs@main
|
||||
with:
|
||||
token: ${{ github.token }}
|
||||
repository: ${{ github.repository }}
|
||||
retain_days: 1
|
||||
keep_minimum_runs: 0
|
Reference in New Issue
Block a user