Skip to content

Commit 970eba2

Browse files
Workflow - reorder step
1 parent 35b4460 commit 970eba2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/autogen-docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
schedule:
55
- cron: '45 10 * * TUE'
66
- cron: '45 10 * * THU'
7-
- cron: '58 19 * * FRI'
7+
- cron: '25 15 * * MON'
88
jobs:
99
autogen-docs:
1010
runs-on: windows-latest
@@ -34,16 +34,16 @@ jobs:
3434
echo "Undoing script file chmod"
3535
chmod -x ./GenerateDocs.sh
3636
- name: Determine changes
37-
id: determine_changes
3837
run: |
3938
echo "Determining if there are any changes"
4039
git config user.name github-actions
4140
git config user.email [email protected]
4241
git checkout -b autogen-docs
4342
git add ../.
4443
echo "GIT_STATUS=$(git status)" >> "$GITHUB_OUTPUT"
44+
id: determine_changes
4545
- name: Commit and push changes if any
46-
if: ${{ ! contains(steps.determine_changes.outputs.GIT_STATUS, 'nothing to commit, working tree clean') }}
46+
if: ${{ !contains(steps.determine_changes.outputs.GIT_STATUS, 'nothing to commit, working tree clean') }}
4747
run: |
4848
echo "Committing and pushing changes to autogen-docs branch"
4949
git commit -m "Automatically generated docs"

0 commit comments

Comments
 (0)