Temporary fix for /docs bugs in CI

This commit is contained in:
kjeld Schouten-Lebbing 2021-02-22 15:56:08 +01:00
parent 9c03565d51
commit fc6eb299c9
No known key found for this signature in database
GPG Key ID: 4CDAD4A532BC1EDB
4 changed files with 9 additions and 9 deletions

View File

View File

@ -36,15 +36,15 @@ jobs:
- name: Create general wiki - name: Create general wiki
run: | run: |
cd master cd master
for doc in docs/*; do # for doc in docs/*; do
if [ -d "${doc}" ]; then # if [ -d "${doc}" ]; then
docname=$(basename ${doc}) # docname=$(basename ${doc})
cp -Rf docs/${docname} ../wiki/content/ # cp -Rf docs/${docname} ../wiki/content/
fi # fi
done # done
cp docs/README.md ../wiki/content/index.md || echo "readme copy failed, continuing..." cp .github/README.md ../wiki/content/index.md || echo "readme copy failed, continuing..."
cp docs/CODE_OF_CONDUCT ../wiki/content/code_of_conduct.md || echo "CODE_OF_CONDUCT copy failed, continuing..." cp .github/CODE_OF_CONDUCT ../wiki/content/code_of_conduct.md || echo "CODE_OF_CONDUCT copy failed, continuing..."
cp docs/CONTRIBUTING ../wiki/content/contributing.md || echo "CONTRIBUTING copy failed, continuing..." cp .github/CONTRIBUTING ../wiki/content/contributing.md || echo "CONTRIBUTING copy failed, continuing..."
ls ../wiki/content/ ls ../wiki/content/
cd .. cd ..