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 12dda3d commit 11af2d7Copy full SHA for 11af2d7
.github/workflows/publish-docs.yml
@@ -36,7 +36,10 @@ jobs:
36
mv `ls -1 ./ | grep -v docs-new` ./docs-new
37
38
# fetch the current site, remove the old docs dir and make current the new one
39
- git clone -b main https://github.com/GrapesJS/website.git tmp && mv tmp/* tmp/.* . && rm -rf tmp
+ git clone -b main https://github.com/GrapesJS/website.git tmp
40
+ mv tmp/[^.]* . # Move all non-hidden files
41
+ mv tmp/.[^.]* . 2>/dev/null || true # Move hidden files, ignore errors if none exist
42
+ rm -rf tmp
43
rm -fR public/docs
44
mv ./docs-new ./public/docs
45
0 commit comments