@@ -125,51 +125,6 @@ jobs:
125
125
cache : ' npm'
126
126
- run : npm install
127
127
- run : npm run build
128
- - name : Create Pull Request
129
- id : cpr
130
- uses : peter-evans/create-pull-request@v4
131
- with :
132
- commit-message : Update doc files.
133
- author :
GitHub <[email protected] >
134
- signoff : false
135
- branch : deploy
136
- base : main
137
- labels : document
138
- delete-branch : true
139
- title : ' doc: update files and ready to deploy'
140
- body : |
141
- **在提出此拉取请求时,我确认了以下几点(保存后请点击复选框):**
142
- - [x] 标题为fix、feat或doc开头
143
- - [x] 我已检查没有与此请求重复的拉取请求。
144
- - [x] 我已经考虑过,并确认这份呈件对其他人很有价值。
145
- - [x] 我接受此提交可能不会被使用,并根据维护人员的意愿关闭拉取请求。
146
- **填写PR内容:**
147
- - Update files to deploy by bot 🚀.
148
- draft : false
149
- - name : Auto approve
150
- if : steps.cpr.outputs.pull-request-operation == 'created'
151
- uses : juliangruber/approve-pull-request-action@v1
152
- with :
153
- github-token : ${{ secrets.PAT }}
154
- number : ${{ steps.cpr.outputs.pull-request-number }}
155
- - id : automerge
156
- name : automerge
157
- if : steps.cpr.outputs.pull-request-operation == 'created'
158
- uses :
" pascalgn/[email protected] "
159
- env :
160
- MERGE_LABELS : " document"
161
- GITHUB_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
162
- PULL_REQUEST : ${{ steps.cpr.outputs.pull-request-number }}
163
- MERGE_RETRIES : 18
164
- MERGE_DELETE_BRANCH : true
165
- MERGE_RETRY_SLEEP : 10000
166
- - name : mv logo file
167
- run : |
168
- mv .vitepress/theme/assets/logo-full.png .vitepress/dist
169
- mv .vitepress/theme/assets/public/favicon.ico .vitepress/dist
170
- mv .vitepress/theme/assets/wechat.jpg .vitepress/dist
171
- mv src/contribute/images/con*.jpg .vitepress/dist
172
- mv .vitepress/theme/assets/ide.json .vitepress/dist
173
128
- name : Upload artifact
174
129
uses : actions/upload-pages-artifact@v3
175
130
with :
0 commit comments