Skip to content

Commit

Permalink
Simplify SSH key usage in CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaiSch committed Feb 3, 2025
1 parent 7539beb commit 135cdb9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci-nixbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ jobs:
- uses: actions/checkout@v4
- run: |
echo "${{ secrets.SSH_KEY }}" > ssh_key
chmod 0700 ssh_key
ssh-add ./ssh_key
ssh [email protected] echo hi
cat "~/.ssh/ssh_key"
ssh -i ./ssh_key [email protected] echo hi
name: "Add ssh-key"
- uses: DeterminateSystems/nix-installer-action@main
with:
Expand Down

0 comments on commit 135cdb9

Please sign in to comment.