We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae27bb0 commit f741901Copy full SHA for f741901
scripts/publish-doc.sh
@@ -12,12 +12,6 @@ doc_name=$($base_name/doc-name.sh $WORKSPACE)
12
# Move the built docs so switching branches doesn't conflict.
13
mv $WORKSPACE/docs $RUNNER_TEMP/doc-temp
14
15
-# Fetch the gg-pages branch.
16
-# git fetch origin gh-pages
17
-
18
-# Switch to the pages branch.
19
-# git checkout gh-pages
20
21
# Action should have cloned the gh-pages to a subdirectory.
22
cd gh-pages
23
@@ -51,4 +45,7 @@ git add $WORKSPACE/docs
51
45
52
46
git commit -m "chore: Updating docs for $doc_name"
53
47
48
+# Update the local copy in case there have been any interim changes.
49
+# If this works inconsistently, then additional checks should be done.
50
+git pull --no-edit
54
git push
0 commit comments