keysss....

This commit is contained in:
Kim 2023-10-23 16:54:43 +02:00
parent bdc5baf73a
commit 03438afb94
2 changed files with 3 additions and 4 deletions

View File

@ -24,13 +24,13 @@ jobs:
- name: Configure SSH - name: Configure SSH
run: | run: |
mkdir -p ~/.ssh/ mkdir -p ~/.ssh/
echo $SSH_KEY > ~/.ssh/staging.pub echo $SSH_KEY > ~/.ssh/staging.key
chmod 600 ~/.ssh/staging.pub chmod 600 ~/.ssh/staging.key
cat >>~/.ssh/config <<END cat >>~/.ssh/config <<END
Host staging Host staging
HostName $SSH_HOST HostName $SSH_HOST
User $SSH_USER User $SSH_USER
IdentityFile ~/.ssh/staging.pub IdentityFile ~/.ssh/staging.key
StrictHostKeyChecking no StrictHostKeyChecking no
END END
env: env:

View File

@ -1,4 +1,3 @@
using System.Text.Json.Nodes;
using InnovEnergy.App.Backend.Database; using InnovEnergy.App.Backend.Database;
using InnovEnergy.App.Backend.Relations; using InnovEnergy.App.Backend.Relations;
using InnovEnergy.Lib.Utils; using InnovEnergy.Lib.Utils;