Skip to content

Commit

Permalink
Publish: Only run on pushes to the main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Jan 10, 2025
1 parent 8928f78 commit 0fc223a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
name: Publish content

on:
pull_request: ~
push:
branches: [ main ]

# Only able for testing purposes.
# pull_request: ~

# Allow job to be triggered manually.
workflow_dispatch:

Expand Down

0 comments on commit 0fc223a

Please sign in to comment.