diff --git a/.forgejo/workflows/ssh-test.yml b/.forgejo/workflows/ssh-test.yml index 195e4b36..00a78264 100644 --- a/.forgejo/workflows/ssh-test.yml +++ b/.forgejo/workflows/ssh-test.yml @@ -15,17 +15,13 @@ jobs: run: | apk update apk add git nodejs nix --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ - - name: "Setup: SSH" - run: | - echo ${secrets.SSH_PUBLIC_KEY} > ~/.ssh/id_ed25519.pub - echo ${secrets.SSH_PRIVATE_KEY} > ~/.ssh/id_ed25519 - cat ~/.ssh/id_ed25519.pub - uses: actions/checkout@v3 - name: "Directory Structure" run: | ls ${{ github.workspace }}/* - name: "Runner: Node Info" run: | + pwd id uname -a hostname @@ -33,6 +29,11 @@ jobs: - name: "Nix Version" run: | nix --version + - name: "Setup: SSH" + run: | + echo ${secrets.SSH_PUBLIC_KEY} > ~/.ssh/id_ed25519.pub + echo ${secrets.SSH_PRIVATE_KEY} > ~/.ssh/id_ed25519 + cat ~/.ssh/id_ed25519.pub # - name: "Nix build" # run: | # echo "Running Nix Build"