From 9314b3f66924311f8f6aaf750a077d07fdc7dfc1 Mon Sep 17 00:00:00 2001
From: jasder <2053003901@qq.com>
Date: Mon, 23 Nov 2020 18:17:40 +0800
Subject: [PATCH 1/8] FIX change markdown
---
README.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index 17406f1..d4d0727 100644
--- a/README.md
+++ b/README.md
@@ -1,13 +1,13 @@
----
# 本地开发部署步骤
-#### 1. 安装依赖包
+#### 1. [安装依赖包](#安装依赖包)
```bash
bundle install
```
-#### 2. 配置初始化文件
+#### 2. [配置初始化文件](#配置初始化文件)
进入项目根目录执行一下命令:
```bash
@@ -23,7 +23,7 @@ touch config/elasticsearch.yml
rails db:create
```
-#### 4. 导入数据表结构
+#### 4. [导入数据表结构](#配置初始化文件)
```bash
bundle exec rake sync_table_structure:import_csv
From adbe5d251927984d9178cf5f023af4425549188b Mon Sep 17 00:00:00 2001
From: jasder <2053003901@qq.com>
Date: Mon, 23 Nov 2020 18:18:54 +0800
Subject: [PATCH 2/8] f
---
README.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/README.md b/README.md
index d4d0727..05fe0ff 100644
--- a/README.md
+++ b/README.md
@@ -24,6 +24,7 @@ rails db:create
```
#### 4. [导入数据表结构](#配置初始化文件)
+跳转到的位置
```bash
bundle exec rake sync_table_structure:import_csv
From e029b06cb4d8775a5f1c6f0f20fbef15c62ec227 Mon Sep 17 00:00:00 2001
From: jasder <2053003901@qq.com>
Date: Mon, 23 Nov 2020 18:38:42 +0800
Subject: [PATCH 3/8] fix md
---
README.md | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/README.md b/README.md
index 05fe0ff..3039dfa 100644
--- a/README.md
+++ b/README.md
@@ -47,7 +47,15 @@ http://localhost:3000/projects
```
---
+## Table of Content
+[1. Anchors](#Anchors)
+[2. Block Elements](#BlockElements)
+## 1. Anchors
+See [Table of Content](#TableOfContent) above.
+## 2. Block Elements
+
+---
# API文档
From 6dcedf3cb3d1402f3b5a4c10263e7dbee49deee4 Mon Sep 17 00:00:00 2001
From: jasder <2053003901@qq.com>
Date: Fri, 27 Nov 2020 11:40:34 +0800
Subject: [PATCH 5/8] fff
---
dzadsa.ttt | 1 +
1 file changed, 1 insertion(+)
create mode 100644 dzadsa.ttt
diff --git a/dzadsa.ttt b/dzadsa.ttt
new file mode 100644
index 0000000..4fbff89
--- /dev/null
+++ b/dzadsa.ttt
@@ -0,0 +1 @@
+sdfsdfsf
\ No newline at end of file
From fc83612374821c86de63b30c77f1f17f63e69f11 Mon Sep 17 00:00:00 2001
From: jasder <2053003901@qq.com>
Date: Fri, 18 Dec 2020 09:10:38 +0800
Subject: [PATCH 6/8] fa
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 3039dfa..e56ce3c 100644
--- a/README.md
+++ b/README.md
@@ -24,7 +24,7 @@ rails db:create
```
#### 4. [导入数据表结构](#配置初始化文件)
-跳转到的位置
+导入数据表结构
```bash
bundle exec rake sync_table_structure:import_csv
From a852764a438bef9f2ec11c50f9f4bf76c58a80d2 Mon Sep 17 00:00:00 2001
From: jasder <2053003901@qq.com>
Date: Wed, 20 Jan 2021 14:54:41 +0800
Subject: [PATCH 7/8] Update '.trustie-pipeline.yml'
---
.trustie-pipeline.yml | 45 +++++++++++++++++++++++++++++++------------
1 file changed, 33 insertions(+), 12 deletions(-)
diff --git a/.trustie-pipeline.yml b/.trustie-pipeline.yml
index 8899462..410d361 100644
--- a/.trustie-pipeline.yml
+++ b/.trustie-pipeline.yml
@@ -1,13 +1,34 @@
-kind: pipeline
-name: default
-
-platform:
- os: linux
- arch: arm64
-
+#pipeline
+kind: pipeline
+type: docker
+name: default
+platform:
+ os: linux
+ arch: amd64
steps:
-- name: test
- image: ruby
- commands:
- - ruby -v
- - ruby -v
\ No newline at end of file
+# 构建Docker镜像并推送到仓库
+# 定义镜像Hub路径以及账号密码
+- name: Docker镜像构建
+ image: plugins/docker
+ settings:
+ username: username
+ password: pwd
+ repo: repoUrl
+ tags: latest
+- name: golang编译
+ image: golang
+ commands:
+ - go build
+# 根据实际情况修改主机ip、账号、密码
+# 需要将软件包与部署脚本提前上传到远程主机(见文件上传模板)
+
+- name: 远程主机部署
+ image: appleboy/drone-ssh
+ settings:
+ host: 192.168.1.1
+ username: username
+ password: 'pasword'
+ port: 22
+ commands:
+ - chmod +x /home/deploy.sh
+ - ./home/deploy.sh
From d77db8c275723b6d7a6b1eec5ba1df290bdcb6c1 Mon Sep 17 00:00:00 2001
From: jasder <2053003901@qq.com>
Date: Fri, 21 May 2021 14:28:48 +0800
Subject: [PATCH 8/8] fix
---
README.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/README.md b/README.md
index e56ce3c..a3e7834 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,6 @@
----
# 本地开发部署步骤
+# 本地开发部署步骤
#### 1. [安装依赖包](#安装依赖包)