File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 6464 exclude_assets : ' **.adoc,*/**.adoc,*/**.sh'
6565 keep_files : true
6666 destination_dir : ${{ steps.prepare_tag.outputs.deploy_tag_name }}
67- tag_name : ${{ steps.prepare_tag.outputs.deploy_tag_name }}
68- tag_message : ' Deployment ${{ steps.prepare_tag.outputs.tag_name }}'
6967
7068 # Change latest link in case there is a new documentation available
7169 - name : Modify gh-pages branch
@@ -78,10 +76,16 @@ jobs:
7876 run : |
7977 echo "tag is latest. need to update latest-symlink in gh-pages branch"
8078 ln -f -s ${{ steps.prepare_tag.outputs.deploy_tag_name }} latest
81- git config user.name Excodibur
82- git add latest
83- git commit --amend -m "updated symlink to ${{ steps.prepare_tag.outputs.deploy_tag_name }}"
84- git push gh-pages
79+
80+ - name : Commit changes
81+ uses : EndBug/add-and-commit@v7
82+ with :
83+ add : latest
84+ author_name : Excodibur
85+ branch : gh-pages
86+ message : updated symlink latest to ${{ steps.prepare_tag.outputs.deploy_tag_name }}
87+ tag : ${{ steps.prepare_tag.outputs.deploy_tag_name }}
88+
8589
8690
8791
You can’t perform that action at this time.
0 commit comments