We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd9daa9 commit 12001caCopy full SHA for 12001ca
1 file changed
.github/workflows/build-docusaurus.yml
@@ -43,8 +43,10 @@ jobs:
43
run: |
44
git config user.name "github-actions[bot]"
45
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
46
-
+
47
BRANCH_NAME="update-docs-site-$(date +%s)"
48
+ echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_ENV # Save for later steps
49
50
git checkout -b $BRANCH_NAME
51
git add ../docs
52
git commit -m "Update Docusaurus site [skip ci]" || echo "No changes to commit"
@@ -55,8 +57,7 @@ jobs:
55
57
with:
56
58
token: ${{ secrets.GITHUB_TOKEN }}
59
commit-message: Update Docusaurus site [skip ci]
- branch: ${{ github.ref_name }}
60
+ branch: ${{ env.BRANCH_NAME }} # Use saved branch name
61
title: 'Update Docusaurus site'
62
body: 'This PR updates the static documentation site.'
63
base: main
0 commit comments