Skip to content

Commit

Permalink
workflow - update schedule for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ElizabethSamuel-MSFT committed Dec 17, 2024
1 parent b4e52f7 commit a732931
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/autogen-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: autogen-docs
run-name: Automatically run GenerateDocs
on:
schedule:
- cron: '45 20 * * TUE'
- cron: '40 23 * * TUE'
- cron: '45 10 * * TUE'
- cron: '45 10 * * THU'
jobs:
Expand Down Expand Up @@ -33,19 +33,19 @@ jobs:
run: |
echo "Undoing script file chmod"
chmod -x ./GenerateDocs.sh
- name: Get if autogen-docs branch exists
- name: Get whether autogen-docs branch exists
run: |
echo "Getting list that includes remote branches"
echo "Getting whether autogen-docs branch exists"
git config user.name github-actions
git config user.email [email protected]
{
echo 'git_branch_a<<EOF'
git branch -a
echo 'git_ls_remote_origin_autogen_docs<<EOF'
git ls-remote origin autogen-docs
echo EOF
} >> "$GITHUB_OUTPUT"
id: run_git_branch_a
id: run_git_ls_remote_origin_autogen_docs
- name: Delete autogen-docs if it exists
if: ${{ contains(steps.run_git_branch_a.outputs.git_branch_a, 'remotes/origin/autogen-docs') }}
if: ${{ contains(steps.run_git_ls_remote_origin_autogen_docs.outputs.git_ls_remote_origin_autogen_docs, '/autogen-docs') }}
run: |
echo "Deleting remote autogen-docs branch"
git push origin --delete autogen-docs
Expand Down
2 changes: 1 addition & 1 deletion generate-docs/GenerateDocs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if [ -e "build-errors.txt" ]; then
rm build-errors.txt
fi

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

if [ -d "node_modules" ]; then
rm -rf "node_modules"
Expand Down

0 comments on commit a732931

Please sign in to comment.