ci: add ssh key
This commit is contained in:
parent
1775d628c5
commit
f2e458950a
@ -10,6 +10,20 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Install SSH keys
|
||||
uses: shimataro/ssh-key-action@d4fffb50872869abe2d9a9098a6d9c5aa7d16be4
|
||||
with:
|
||||
key: ${{ secrets.SSH_GITEA_SSH_KEY }}
|
||||
name: gitea_action
|
||||
known_hosts: ${{ secrets.SSH_GITEA_KNOWN_HOSTS }}
|
||||
- name: Agent SSH keys
|
||||
uses: webfactory/ssh-agent@v0.9.0
|
||||
with:
|
||||
ssh-private-key: ${{ secrets.SSH_GITEA_SSH_KEY }}
|
||||
# name: gitea_action
|
||||
# known_hosts: ${{ secrets.SSH_GITEA_KNOWN_HOSTS }}
|
||||
#- name: Fix SSH key
|
||||
# run: sed -i 's/\r$//g' /root/.ssh/gitea_action
|
||||
- uses: cachix/install-nix-action@v20
|
||||
- run: nix flake update
|
||||
- run: nix flake check
|
||||
|
Loading…
x
Reference in New Issue
Block a user