Added check for file not existing

This commit is contained in:
Merve Noyan 2023-09-21 17:26:15 +02:00 committed by Nicolas Patry
parent 048d77da7a
commit 75e49b8abd

View File

@ -25,6 +25,9 @@ jobs:
- name: Update Docs - name: Update Docs
run: | run: |
if [ ! -f "/docs/source/basic_tutorials/launcher.md" ]; then
touch /docs/source/basic_tutorials/launcher.md
output="${{ steps.run-launcher-help.outputs.output }}" output="${{ steps.run-launcher-help.outputs.output }}"
launcher_content=$(/docs/source/basic_tutorials/launcher.md) launcher_content=$(/docs/source/basic_tutorials/launcher.md)