We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed161a8 commit 9650ccaCopy full SHA for 9650cca
1 file changed
.github/workflows/test-mkdocs-workflow.yml
@@ -102,14 +102,14 @@ jobs:
102
- name: Test Custom Output Directory
103
uses: Reloaded-Project/devops-mkdocs@v1
104
with:
105
- output-directory: docs/_site
+ output-directory: custom_site_dir
106
checkout-current-repo: false
107
publish-to-pages: false
108
- name: Assert Custom Output Directory
109
shell: bash
110
run: |
111
- if [ ! -d docs/_site ]; then
112
- echo "Custom output directory does not exist"
+ if [ ! -d custom_site_dir ] || [ -z "$(ls -A custom_site_dir)" ]; then
+ echo "Custom output directory does not exist or is empty"
113
exit 1
114
fi
115
0 commit comments