Skip to content

Commit b581253

Browse files
committed
.
1 parent e000968 commit b581253

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
MILL_SONATYPE_USERNAME: ${{ secrets.PUBLISH_USER }}
104104

105105
site:
106-
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || github.ref == 'refs/tags/')
106+
if: github.event_name == 'pull_request' || github.ref == 'refs/heads/main'
107107
needs: build
108108
runs-on: ubuntu-latest
109109
steps:
@@ -125,6 +125,7 @@ jobs:
125125
if-no-files-found: error
126126

127127
deploy:
128+
if: github.ref == 'refs/heads/main'
128129
needs: site
129130
permissions:
130131
pages: write

0 commit comments

Comments
 (0)