Skip to content

Commit

Permalink
only deploy on pushes to main
Browse files Browse the repository at this point in the history
  • Loading branch information
SethSharp committed Oct 26, 2024
1 parent 063b6cb commit 697535d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Deployment

on: [ push ]
on:
push:
branches:
- main

jobs:
deployment:
Expand All @@ -9,8 +12,6 @@ jobs:

environment: production

if: github.ref == 'refs/heads/main'

steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit 697535d

Please sign in to comment.