File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ jobs:
1919 contents : read
2020 secrets :
2121 GH_BOT_EMAIL : ${{ secrets.GH_BOT_EMAIL }}
22- GH_BOT_NAME : ${{ vars.GH_BOT_NAME }}
2322 GH_BOT_TOKEN : ${{ secrets.GH_BOT_TOKEN }}
2423 with :
25- target_branch : gh-pages
2624 clean_gh_pages : true
25+ gh_bot_name : ${{ vars.GH_BOT_NAME }}
26+ target_branch : gh-pages
2727
2828 release :
2929 if : github.event_name == 'push' && github.ref == 'refs/heads/master'
Original file line number Diff line number Diff line change 4747 required : false
4848 default : ' '
4949 type : string
50+ gh_bot_name :
51+ description : ' Name of the bot account'
52+ required : true
53+ type : string
5054 secrets :
5155 GH_BOT_EMAIL :
5256 description : ' Email address of the bot account'
5357 required : true
54- GH_BOT_NAME :
55- description : ' Name of the bot account'
56- required : true
5758 GH_BOT_TOKEN :
5859 description : ' Personal access token of the bot account'
5960 required : true
@@ -272,7 +273,7 @@ jobs:
272273 with :
273274 github_token : ${{ secrets.GH_BOT_TOKEN }}
274275 author_email : ${{ secrets.GH_BOT_EMAIL }}
275- author_name : ${{ secrets.GH_BOT_NAME }}
276+ author_name : ${{ inputs.gh_bot_name }}
276277 directory : gh-pages
277278 branch : ${{ env.INPUT_TARGET_BRANCH }}
278279 force : false
Original file line number Diff line number Diff line change 6565 uses : LizardByte/LizardByte.github.io/.github/workflows/jekyll-build.yml@master
6666 secrets :
6767 GH_BOT_EMAIL : ${{ secrets.GH_BOT_EMAIL }}
68- GH_BOT_NAME : ${{ secrets.GH_BOT_NAME }}
6968 GH_BOT_TOKEN : ${{ secrets.GH_BOT_TOKEN }}
7069 with :
70+ gh_bot_name : ${{ vars.GH_BOT_NAME }}
7171 site_artifact : ' prep' # any name except 'site' is allowed
7272 target_branch : ' gh-pages'
7373 clean_gh_pages : true
You can’t perform that action at this time.
0 commit comments