mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-03-26 11:45:33 +00:00
Remove blank lines after code block markers
This commit is contained in:
@@ -26,7 +26,6 @@ git init
|
||||
|
||||
git remote add origin git@github.com:username/drone-demo.git
|
||||
```
|
||||
|
||||
这里以一个简单的 `Go` 程序为例,该程序输出 `Hello World!`
|
||||
|
||||
编写 `app.go` 文件:
|
||||
@@ -40,7 +39,6 @@ func main() {
|
||||
fmt.Printf("Hello World!\n")
|
||||
}
|
||||
```
|
||||
|
||||
编写 `.drone.yml` 文件:
|
||||
|
||||
```yaml
|
||||
@@ -65,7 +63,6 @@ trigger:
|
||||
branch:
|
||||
- master
|
||||
```
|
||||
|
||||
现在目录结构如下:
|
||||
|
||||
```bash
|
||||
@@ -73,7 +70,6 @@ trigger:
|
||||
├── .drone.yml
|
||||
└── app.go
|
||||
```
|
||||
|
||||
## 21.3.3 推送项目源代码到 GitHub
|
||||
|
||||
```bash
|
||||
@@ -83,7 +79,6 @@ git commit -m "test drone ci"
|
||||
|
||||
git push origin master
|
||||
```
|
||||
|
||||
## 21.3.4 查看项目构建过程及结果
|
||||
|
||||
打开我们部署好的 `Drone` 网站或者 Drone Cloud,即可看到构建结果。
|
||||
|
||||
Reference in New Issue
Block a user