diff --git a/.github/workflows/nix.yaml b/.github/workflows/nix.yaml index 51741a91..b8e415bf 100644 --- a/.github/workflows/nix.yaml +++ b/.github/workflows/nix.yaml @@ -35,7 +35,7 @@ jobs: path: | result/bin/komorebi* retention-days: 90 - - if: ${{ github.repository == 'KomoCorp/komorebi-for-mac' }} + - if: ${{ github.ref == 'refs/heads/master' && github.repository == 'KomoCorp/komorebi-for-mac' }} uses: exuanbo/actions-deploy-gist@v1 with: token: ${{ secrets.GH_USER_API_TOKEN }}