diff options
| author | Egor Tensin <egor@tensin.name> | 2026-10-21 10:20:43 +0300 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-10-21 10:24:17 +0300 |
| commit | 65f6f625478a735c888fcb8e7d4306ff1e62e202 (patch) | |
| tree | 26b733269b0d13fa4aca8d6df1675931e7868a27 | |
| parent | Makefile: try SSH key setup in actions/checkout (diff) | |
| download | config-links-65f6f625478a735c888fcb8e7d4306ff1e62e202.tar.gz config-links-65f6f625478a735c888fcb8e7d4306ff1e62e202.zip | |
Revert "Makefile: try SSH key setup in actions/checkout"
This reverts commit 117042f71a3e02cc96cc04a23c6435e7a0692736.
| -rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -72,6 +72,15 @@ ci/user: echo 'builder ALL=(ALL) ALL' >> /etc/sudoers chown -R builder:builder -- "$$GITHUB_WORKSPACE" +.PHONY: ci/ssh +ci/ssh: + @echo '=========================================== CI: configure SSH ===' + mkdir -p /home/builder/.ssh/ + echo 'StrictHostKeyChecking no' > /home/builder/.ssh/config + echo "$$SSH_KEY" > /home/builder/.ssh/id_ed25519 + chown -R builder:builder /home/builder/.ssh + chmod 0600 /home/builder/.ssh/id_ed25519 + # See https://github.com/actions/checkout#push-a-commit-using-the-built-in-token .PHONY: ci/git ci/git: @@ -82,6 +91,7 @@ ci/git: .PHONY: ci/setup ci/setup: ci/deps ci/setup: ci/user +ci/setup: ci/ssh ci/setup: ci/git .PHONY: ci |
