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 12
12
jobs :
13
13
sync-docs :
14
14
runs-on : ubuntu-latest
15
- if : github.repository == 'gridstack /gridstack.js'
15
+ if : github.repository == 'adumesny /gridstack.js'
16
16
17
17
steps :
18
18
- name : Checkout master branch
@@ -53,19 +53,17 @@ jobs:
53
53
run : |
54
54
echo "Syncing main library documentation..."
55
55
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
59
59
fi
60
60
61
61
# Extract docs from master branch using git archive
62
- mkdir -p docs
62
+ mkdir -p doc
63
63
git archive master doc/html | tar -xf -
64
- mv doc/html docs/html
65
- rm -rf doc
66
64
67
65
# Add changes
68
- git add docs /html
66
+ git add doc /html
69
67
70
68
- name : Sync Angular documentation
71
69
if : steps.check-docs.outputs.angular_docs == 'true'
You can’t perform that action at this time.
0 commit comments