Skip to content

Commit 73d0eff

Browse files
author
github-actions
committed
Merge branch 'main' into live
2 parents e9de973 + 9534fbf commit 73d0eff

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/autogen-docs.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,19 @@ jobs:
3232
run: |
3333
echo "Undoing script file chmod"
3434
chmod -x ./GenerateDocs.sh
35-
- name: Get list of remote branches
35+
- name: Get whether autogen-docs branch exists
3636
run: |
37-
echo "Getting list that includes remote branches"
37+
echo "Getting whether autogen-docs branch exists"
3838
git config user.name github-actions
3939
git config user.email [email protected]
4040
{
41-
echo 'git_branch_a<<EOF'
42-
git branch -a
41+
echo 'git_ls_remote_origin_autogen_docs<<EOF'
42+
git ls-remote origin autogen-docs
4343
echo EOF
4444
} >> "$GITHUB_OUTPUT"
45-
id: run_git_branch_a
45+
id: run_git_ls_remote_origin_autogen_docs
4646
- name: Delete autogen-docs if it exists
47-
if: ${{ contains(steps.run_git_branch_a.outputs.git_branch_a, 'remotes/origin/autogen-docs') }}
47+
if: ${{ contains(steps.run_git_ls_remote_origin_autogen_docs.outputs.git_ls_remote_origin_autogen_docs, '/autogen-docs') }}
4848
run: |
4949
echo "Deleting remote autogen-docs branch"
5050
git push origin --delete autogen-docs

0 commit comments

Comments
 (0)