File tree 3 files changed +59
-59
lines changed
3 files changed +59
-59
lines changed Original file line number Diff line number Diff line change
1
+ name : ci
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ - main
7
+ jobs :
8
+ deploy :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v2
12
+ - uses : actions/setup-python@v2
13
+ with :
14
+ python-version : 3.x
15
+ - run : pip install mkdocs-material
16
+ - run : mkdocs gh-deploy --force
17
+
18
+ # name: your_woekflow_name
19
+
20
+ # on:
21
+ # push:
22
+ # # run only against tags
23
+ # tags:
24
+ # - '*'
25
+
26
+ # permissions:
27
+ # contents: write
28
+ # # packages: write
29
+ # # issues: write
30
+
31
+ # jobs:
32
+ # your_job_id:
33
+ # runs-on: ubuntu-latest
34
+ # steps:
35
+ # # checkout action 是一个标准动作,当以下情况时必须且需要率先使用:
36
+ # # (1)workflow 需要项目库的代码副本,比如构建、测试、或持续集成这些操作。
37
+ # # (2)workflow 中至少有一个 action是在同一个项目库下定义的。
38
+ # - uses: actions/checkout@v3
39
+ # # 如果你只想浅克隆你的库,或者只复制最新的版本,你可以在 with中使用fetch-depth声明,
40
+ # # 例如: fetch-depth: 1
41
+ # with:
42
+ # fetch-depth: 0
43
+ # - run: git fetch --force --tags
44
+ # - uses: actions/setup-go@v3
45
+ # with:
46
+ # go-version: '>=1.18.1'
47
+ # cache: true
48
+ # # More assembly might be required: Docker logins, GPG, etc. It all depends
49
+ # # on your needs.
50
+ # - uses: goreleaser/goreleaser-action@v2
51
+ # with:
52
+ # # either 'goreleaser' (default) or 'goreleaser-pro':
53
+ # distribution: goreleaser
54
+ # version: latest
55
+ # args: release --rm-dist
56
+ # env:
57
+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58
+
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ git commit -m "testcommit"
4
4
# master: your branch name
5
5
git push origin master
6
6
# vXX.XX.XX: your version. your tag
7
- git tag -a v0.3.80 -m " test release"
7
+ git tag -a v0.3.81 -m " test release"
8
8
# release and push to github & docker.io
9
9
goreleaser release --rm-dist
10
10
# only test realase
You can’t perform that action at this time.
0 commit comments