Skip to content

Commit 35b4460

Browse files
Workflow - try again to get output
1 parent b96aedd commit 35b4460

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/autogen-docs.yml

Lines changed: 4 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: '33 19 * * FRI'
7+
- cron: '58 19 * * FRI'
88
jobs:
99
autogen-docs:
1010
runs-on: windows-latest
@@ -34,15 +34,16 @@ jobs:
3434
echo "Undoing script file chmod"
3535
chmod -x ./GenerateDocs.sh
3636
- name: Determine changes
37+
id: determine_changes
3738
run: |
3839
echo "Determining if there are any changes"
3940
git config user.name github-actions
4041
git config user.email [email protected]
4142
git checkout -b autogen-docs
4243
git add ../.
43-
echo "GIT_STATUS=git status" >> "$GITHUB_OUTPUT"
44+
echo "GIT_STATUS=$(git status)" >> "$GITHUB_OUTPUT"
4445
- name: Commit and push changes if any
45-
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') }}
4647
run: |
4748
echo "Committing and pushing changes to autogen-docs branch"
4849
git commit -m "Automatically generated docs"

0 commit comments

Comments
 (0)