Skip to content

Commit c531c82

Browse files
committed
only publish to pages if specified
1 parent c7b764e commit c531c82

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ jobs:
277277
runs-on: ubuntu-latest
278278
needs: [frontend, tests, rewritertests]
279279
permissions: write-all
280-
if: github.ref == 'refs/heads/main'
280+
if: github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, '[PUBLISH]')
281281

282282
steps:
283283
- name: Get artifacts

0 commit comments

Comments
 (0)