diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 2ccf62f..d952381 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -24,6 +24,7 @@ jobs:
build:
runs-on: ubuntu-latest
+ if: github.ref == 'refs/heads/master'
needs: [ci]
permissions:
contents: read
@@ -52,6 +53,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
+ if: github.ref == 'refs/heads/master'
needs: [build]
environment: production
concurrency: