File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 4343 run : |
4444 git config user.name "github-actions[bot]"
4545 git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
46-
46+
4747 BRANCH_NAME="update-docs-site-$(date +%s)"
48+ echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_ENV # Save for later steps
49+
4850 git checkout -b $BRANCH_NAME
4951 git add ../docs
5052 git commit -m "Update Docusaurus site [skip ci]" || echo "No changes to commit"
5557 with :
5658 token : ${{ secrets.GITHUB_TOKEN }}
5759 commit-message : Update Docusaurus site [skip ci]
58- branch : ${{ github.ref_name }}
60+ branch : ${{ env.BRANCH_NAME }} # Use saved branch name
5961 title : ' Update Docusaurus site'
6062 body : ' This PR updates the static documentation site.'
6163 base : main
62-
You can’t perform that action at this time.
0 commit comments