Skip to content

Commit f8581f1

Browse files
committed
Modify conditional for "Deploy docs" step (ref #22)
1 parent 35463fb commit f8581f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/documentation.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
# Re-run on a regular schedule
1010
schedule:
11-
- cron: "45 * * * *"
11+
- cron: "56 * * * *"
1212

1313
# Re-run on demand:
1414
workflow_dispatch:
@@ -114,7 +114,7 @@ jobs:
114114
- run: echo "event_name=${{github.event_name}} event_ref=${{github.event.ref}}"
115115

116116
- name: Deploy docs
117-
if: ${{ ( github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' ) && ( github.event.ref == 'refs/heads/main' ) }}
117+
if: ${{ ( ( github.event_name == 'push' || github.event_name == 'workflow_dispatch' ) && ( github.event.ref == 'refs/heads/main' ) ) || ( github.event_name == 'schedule' )}}
118118
uses: peaceiris/actions-gh-pages@v4
119119
with:
120120
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)