1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-20 11:47:46 +00:00

Only set up SSH key on main branch

This commit is contained in:
Joshua Goins 2024-06-29 10:23:42 -04:00
parent 22c5c71f42
commit bee7c9e3c9

View file

@ -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