File tree 3 files changed +34
-12
lines changed
3 files changed +34
-12
lines changed Original file line number Diff line number Diff line change
1
+ name : docsearch
2
+
3
+ on :
4
+ deployment
5
+
6
+ jobs :
7
+ algolia :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v2
11
+
12
+ - name : Get the content of docsearch.json as config
13
+ id : algolia_config
14
+ run : echo "::set-output name=config::$(cat docsearch.json | jq -r tostring)"
15
+
16
+ - name : Run algolia/docsearch-scraper image
17
+ env :
18
+ ALGOLIA_APP_ID : ${{ secrets.ALGOLIA_APP_ID }}
19
+ ALGOLIA_API_KEY : ${{ secrets.ALGOLIA_API_KEY }}
20
+ CONFIG : ${{ steps.algolia_config.outputs.config }}
21
+ run : |
22
+ docker run \
23
+ --env APPLICATION_ID=${ALGOLIA_APP_ID} \
24
+ --env API_KEY=${ALGOLIA_API_KEY} \
25
+ --env "CONFIG=${CONFIG}" \
26
+ algolia/docsearch-scraper
Original file line number Diff line number Diff line change @@ -127,9 +127,7 @@ git rebase -i 6ad457782
127
127
:2,$s /pick/f/g
128
128
```
129
129
130
- ![ Untitled] ( ./img/Untitled.png )
131
-
132
- 比如说合并 commit ,如果说我想合并 fix 小数点上面的所有 commit 节点,
130
+ 比如说合并 commit ,如果说我想合并某个节点上面的所有 commit 节点,
133
131
134
132
我们就可以操作
135
133
@@ -203,8 +201,6 @@ git checkout {commitId} {本地新分支名}
203
201
204
202
### 退出合并
205
203
206
- ![ Untitled] ( ./img/Untitled2.png )
207
-
208
204
``` bash
209
205
git merge --abort
210
206
```
@@ -289,9 +285,9 @@ git push origin feature/1025848-eshop -f
289
285
git ls-remote --heads
290
286
# abc150b184007a4248a0e993b547194494964e17 refs/heads/master
291
287
292
- 仓库地址
288
+ # 仓库地址
293
289
git ls-remote --get-url
294
- # git@code.guanmai.cn :fe-x/gm_api_script .git
290
+ # git@xxxx :fe-x/xxx .git
295
291
```
296
292
297
293
git log 查看远程分支 log 信息
Original file line number Diff line number Diff line change @@ -46,11 +46,11 @@ module.exports = {
46
46
} ,
47
47
] ,
48
48
} ,
49
- // algolia: {
50
- // apiKey: "",
51
- // indexName: "",
52
- // appId: "",
53
- // },
49
+ algolia : {
50
+ apiKey : "b8a6e97687c942d5512e9d643ac59481 " ,
51
+ indexName : "blog_data " ,
52
+ appId : "QEASEITM3D " ,
53
+ } ,
54
54
footer : {
55
55
style : "dark" ,
56
56
copyright : `Copyright © ${ new Date ( ) . getFullYear ( ) } My Project, Inc. Built with Docusaurus.` ,
You can’t perform that action at this time.
0 commit comments