Skip to content

Commit c4328c1

Browse files
committed
fix(scripts): change all paths in docs pushing script to relative paths
1 parent f24832c commit c4328c1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/release/publish-docs-content.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66
cd "$(dirname $0)/../../"
77

8-
docsPath="/dist/docs"
9-
repoPath="/tmp/material2-docs-content"
8+
docsPath="./dist/docs"
9+
repoPath="./tmp/material2-docs-content"
1010
repoUrl="https://github.com/DevVersion/material2-docs-content"
11-
examplesSource="/dist/docs/examples"
11+
examplesSource="./dist/docs/examples"
1212

1313
# If the docs directory is not present, generate docs
1414
if [ ! -d $docsPath ]; then
@@ -22,7 +22,7 @@ commitAuthorEmail="$(git --no-pager show -s --format='%ae' HEAD)"
2222
commitMessage="$(git log --oneline -n 1)"
2323

2424
# create directory and clone test repo
25-
rm -rf /tmp/
25+
rm -rf ./tmp/
2626
mkdir -p $repoPath
2727
git clone $repoUrl $repoPath
2828

0 commit comments

Comments
 (0)