Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(scripts): change all paths in docs pushing script to relative paths #3091

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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