Skip to content

Commit

Permalink
fix(scripts): change all paths in docs pushing script to relative pat…
Browse files Browse the repository at this point in the history
…hs (#3091)
  • Loading branch information
riavalon authored and andrewseguin committed Feb 16, 2017
1 parent 28e32df commit 60aa9e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/release/publish-docs-content.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

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

docsPath="/dist/docs"
docsPath="./dist/docs"
repoPath="/tmp/material2-docs-content"
repoUrl="https://github.com/DevVersion/material2-docs-content"
examplesSource="/dist/docs/examples"
examplesSource="./dist/docs/examples"

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

# create directory and clone test repo
rm -rf /tmp/
rm -rf $repoPath
mkdir -p $repoPath
git clone $repoUrl $repoPath

Expand Down

0 comments on commit 60aa9e9

Please sign in to comment.