From 75e49b8abd0f5b67af6d54473c26077932a0d173 Mon Sep 17 00:00:00 2001 From: Merve Noyan Date: Thu, 21 Sep 2023 17:26:15 +0200 Subject: [PATCH] Added check for file not existing --- .github/workflows/autodocs.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/autodocs.yml b/.github/workflows/autodocs.yml index 5895b96a..59e1772f 100644 --- a/.github/workflows/autodocs.yml +++ b/.github/workflows/autodocs.yml @@ -25,6 +25,9 @@ jobs: - name: Update Docs run: | + if [ ! -f "/docs/source/basic_tutorials/launcher.md" ]; then + touch /docs/source/basic_tutorials/launcher.md + output="${{ steps.run-launcher-help.outputs.output }}" launcher_content=$(/docs/source/basic_tutorials/launcher.md)