File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,20 @@ jobs:
2222 fetch-depth : 0
2323 path : docs-files
2424
25+ - name : Generate GitHub App token
26+ id : app-token
27+ uses : actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
28+ with :
29+ app-id : ${{ vars.AUTH_APP_ID }}
30+ private-key : ${{ secrets.AUTH_APP_PRIVATE_KEY }}
31+ owner : ${{ github.repository_owner }}
32+
2533 - name : clone frontend
2634 uses : actions/checkout@main
2735 with :
2836 repository : ' emqx/docs-emqx-com-frontend'
2937 ref : next
30- token : ${{ secrets.CI_GIT_TOKEN }}
38+ token : ${{ steps.app-token.outputs.token }}
3139 path : frontend
3240
3341 - name : use node.js
@@ -126,4 +134,4 @@ jobs:
126134 API_KEY : ${{ secrets.ALGOLIA_API_KEY_NEXT }}
127135 with :
128136 docs_type : ${{ env.DOCS_TYPE }}
129- docs_version : ${{ env.VERSION }}
137+ docs_version : ${{ env.VERSION }}
You can’t perform that action at this time.
0 commit comments