diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 677ff13..f04c187 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -48,6 +48,7 @@ jobs: - name: Run clippy run: cargo clippy --features visual_data,game_install - name: Set up SSH key + if: github.ref == 'refs/heads/main' run: | mkdir -p ~/.ssh echo "${{ secrets.DEPLOY_PRIVATE_KEY }}" > ~/.ssh/id_rsa