mirror of
https://github.com/Lissy93/dashy.git
synced 2025-12-06 08:34:14 +01:00
🐞 Print location if /docs not found
This commit is contained in:
parent
c2368e1af2
commit
cdb8db0c62
1 changed files with 9 additions and 1 deletions
10
.github/workflows/update-docs-site.yml
vendored
10
.github/workflows/update-docs-site.yml
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue