Skip to content

Commit

Permalink
Change path of identityfile
Browse files Browse the repository at this point in the history
  • Loading branch information
z8v committed Aug 28, 2023
1 parent 561f009 commit 3182de5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/nix-server/config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Host nix-server
Hostname localhost
Port 2222
User root
IdentityFile .github/nix-server/keys/ci
IdentityFile /home/runner/.ssh/ci

Host *
StrictHostKeyChecking no
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ jobs:
docker build -t nix-server -f .github/nix-server/Dockerfile .
docker run -d -p 2222:22 nix-server
cp .github/nix-server/keys $HOME/.ssh/
sudo cp .github/nix-server/config /etc/ssh/ssh_config
- name: Build & test
env:
Expand Down

0 comments on commit 3182de5

Please sign in to comment.