Skip to content

Commit

Permalink
Only set up SSH key on main branch
Browse files Browse the repository at this point in the history
(cherry picked from commit bee7c9e)
  • Loading branch information
redstrate committed Jun 29, 2024
1 parent 303def4 commit 9820f86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9820f86

Please sign in to comment.