From 8ee215c51fb568c249d3c7487d0eb7889b3a02f3 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 5895b96ad4f..59e1772fb15 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)