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:
parent
22c5c71f42
commit
bee7c9e3c9
1 changed files with 1 additions and 0 deletions
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue