🐞 Print location if /docs not found

This commit is contained in:
Alicia Sykes 2024-03-07 18:20:39 +00:00
parent c2368e1af2
commit cdb8db0c62

View file

@ -42,7 +42,15 @@ jobs:
- name: Run script to update documentation 🪄
run: |
cp -r master-docs/docs website-docs/docs
if [ -d master-docs/docs ]; then
ls -R master-docs/docs # List files for debugging
cp -r master-docs/docs website-docs/
echo "Copied docs from master to website"
else
pwd
ls -R
echo "master-docs/docs directory does not exist"
fi
python website-docs/do-markdown-magic.py
working-directory: website-docs