From eadd664ef6d59fb03045280d20bfc900365e7df7 Mon Sep 17 00:00:00 2001 From: Olena Stepaniuk <92721590+OlenaPostindustria@users.noreply.github.com> Date: Wed, 21 Aug 2024 15:19:04 +0300 Subject: [PATCH] Update upload-docs-ios.yml --- .github/workflows/upload-docs-ios.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/upload-docs-ios.yml b/.github/workflows/upload-docs-ios.yml index db34b068b..c37c1ae86 100644 --- a/.github/workflows/upload-docs-ios.yml +++ b/.github/workflows/upload-docs-ios.yml @@ -20,6 +20,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + ref: docs - name: Create local changes run: | echo "This is a generated file." > generated_file1.txt @@ -27,7 +28,7 @@ jobs: run: | git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" - git fetch || git checkout -b docs + git status git add -A && git commit -m "Add generated TXT file" - name: Push changes uses: ad-m/github-push-action@master