Skip to content

Commit 4de221e

Browse files
committed
Add more brackets
1 parent 43ac43b commit 4de221e

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
@@ -111,10 +111,10 @@ jobs:
111111
112112
- run: ls -lh site/*
113113

114-
- run: echo "event_name=${{github.event_name}}"
114+
- 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_name == 'schedule' ) && ( github.event.ref == 'refs/heads/main' ) }}
118118
uses: peaceiris/actions-gh-pages@v4
119119
with:
120120
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)