Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jul 8, 2024
1 parent 2e9908f commit ee994bf
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/publish-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ else
if [[ ${BUILD_TESTING} -ne false ]]; then
echo "create folder for PR with master only"
mkdir "PR${BUILD_TESTING}"
cp -R ../master/* PR${BUILD_TESTING}/
cp -R ../../master/* PR${BUILD_TESTING}/
else
for VERSION in "${VERSIONS[@]}"; do
echo "get ${VERSION}"
rm -rf ${VERSION}
mkdir "${VERSION}"
cp -R ../${VERSION}/* ${VERSION}/
cp -R ../../${VERSION}/* ${VERSION}/
done
fi
fi
Expand All @@ -76,8 +76,6 @@ else
if [[ $response =~ ^[Yy](es)?$ ]]; then
git push
fi
rm -rf publish/*
fi

popd
popd

0 comments on commit ee994bf

Please sign in to comment.