File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 1212jobs :
1313 sync-docs :
1414 runs-on : ubuntu-latest
15- if : github.repository == 'gridstack /gridstack.js'
15+ if : github.repository == 'adumesny /gridstack.js'
1616
1717 steps :
1818 - name : Checkout master branch
@@ -53,19 +53,17 @@ jobs:
5353 run : |
5454 echo "Syncing main library documentation..."
5555
56- # Remove existing docs directory if it exists
57- if [ -d "docs /html" ]; then
58- rm -rf docs /html
56+ # Remove existing doc/html directory if it exists
57+ if [ -d "doc /html" ]; then
58+ rm -rf doc /html
5959 fi
6060
6161 # Extract docs from master branch using git archive
62- mkdir -p docs
62+ mkdir -p doc
6363 git archive master doc/html | tar -xf -
64- mv doc/html docs/html
65- rm -rf doc
6664
6765 # Add changes
68- git add docs /html
66+ git add doc /html
6967
7068 - name : Sync Angular documentation
7169 if : steps.check-docs.outputs.angular_docs == 'true'
You can’t perform that action at this time.
0 commit comments