File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: autogen-docs
2
2
run-name : Automatically run GenerateDocs
3
3
on :
4
4
schedule :
5
- - cron : ' 45 20 * * TUE'
5
+ - cron : ' 40 23 * * TUE'
6
6
- cron : ' 45 10 * * TUE'
7
7
- cron : ' 45 10 * * THU'
8
8
jobs :
@@ -33,19 +33,19 @@ jobs:
33
33
run : |
34
34
echo "Undoing script file chmod"
35
35
chmod -x ./GenerateDocs.sh
36
- - name : Get if autogen-docs branch exists
36
+ - name : Get whether autogen-docs branch exists
37
37
run : |
38
- echo "Getting list that includes remote branches "
38
+ echo "Getting whether autogen-docs branch exists "
39
39
git config user.name github-actions
40
40
git config user.email [email protected]
41
41
{
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
44
44
echo EOF
45
45
} >> "$GITHUB_OUTPUT"
46
- id : run_git_branch_a
46
+ id : run_git_ls_remote_origin_autogen_docs
47
47
- 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') }}
49
49
run : |
50
50
echo "Deleting remote autogen-docs branch"
51
51
git push origin --delete autogen-docs
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ if [ -e "build-errors.txt" ]; then
15
15
rm build-errors.txt
16
16
fi
17
17
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 )
19
19
20
20
if [ -d " node_modules" ]; then
21
21
rm -rf " node_modules"
You can’t perform that action at this time.
0 commit comments