Skip to content

Commit a732931

Browse files
workflow - update schedule for testing
1 parent b4e52f7 commit a732931

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/autogen-docs.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: autogen-docs
22
run-name: Automatically run GenerateDocs
33
on:
44
schedule:
5-
- cron: '45 20 * * TUE'
5+
- cron: '40 23 * * TUE'
66
- cron: '45 10 * * TUE'
77
- cron: '45 10 * * THU'
88
jobs:
@@ -33,19 +33,19 @@ jobs:
3333
run: |
3434
echo "Undoing script file chmod"
3535
chmod -x ./GenerateDocs.sh
36-
- name: Get if autogen-docs branch exists
36+
- name: Get whether autogen-docs branch exists
3737
run: |
38-
echo "Getting list that includes remote branches"
38+
echo "Getting whether autogen-docs branch exists"
3939
git config user.name github-actions
4040
git config user.email [email protected]
4141
{
42-
echo 'git_branch_a<<EOF'
43-
git branch -a
42+
echo 'git_ls_remote_origin_autogen_docs<<EOF'
43+
git ls-remote origin autogen-docs
4444
echo EOF
4545
} >> "$GITHUB_OUTPUT"
46-
id: run_git_branch_a
46+
id: run_git_ls_remote_origin_autogen_docs
4747
- name: Delete autogen-docs if it exists
48-
if: ${{ contains(steps.run_git_branch_a.outputs.git_branch_a, 'remotes/origin/autogen-docs') }}
48+
if: ${{ contains(steps.run_git_ls_remote_origin_autogen_docs.outputs.git_ls_remote_origin_autogen_docs, '/autogen-docs') }}
4949
run: |
5050
echo "Deleting remote autogen-docs branch"
5151
git push origin --delete autogen-docs

generate-docs/GenerateDocs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if [ -e "build-errors.txt" ]; then
1515
rm build-errors.txt
1616
fi
1717

18-
#exec > >(tee -a build-log.txt) 2> >(tee -a build-errors.txt >&2)
18+
exec > >(tee -a build-log.txt) 2> >(tee -a build-errors.txt >&2)
1919

2020
if [ -d "node_modules" ]; then
2121
rm -rf "node_modules"

0 commit comments

Comments
 (0)