i'm done
Some checks failed
Build / nix-build (native-aarch64, varda) (push) Successful in 1m34s
Build / nix-build (native-x86_64, telchar) (push) Has been cancelled

This commit is contained in:
Joseph Hanson 2024-07-28 20:18:52 -05:00
parent 0b1f22d1e8
commit 5418476c30
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -27,22 +27,22 @@ jobs:
run: | run: |
mkdir -p $HOME/.ssh mkdir -p $HOME/.ssh
chmod 700 $HOME/.ssh chmod 700 $HOME/.ssh
- name: Write ssh key # - name: Write ssh key
id: sshkey # id: sshkey
uses: https://github.com/timheuer/base64-to-file@v1 # uses: https://github.com/timheuer/base64-to-file@v1
with: # with:
encodedString: "${{ secrets.SSH_USER }}" # encodedString: "${{ secrets.SSH_USER }}"
fileName: id_ed25519 # fileName: id_ed25519
fileDir: $HOME/.ssh/ # fileDir: ${{}}/.ssh/
- name: Make id_ed25519 user only # - name: Make id_ed25519 user only
shell: bash # shell: bash
run: | # run: |
# output to null to avoid leaking the key # # output to null to avoid leaking the key
# echo ${{ secrets.SSH_USER }} | base64 -d > $HOME/.ssh/id_ed25519 >/dev/null 2>&1 # # echo ${{ secrets.SSH_USER }} | base64 -d > $HOME/.ssh/id_ed25519 >/dev/null 2>&1
# echo "${{ secrets.SSH_USER }}" > $HOME/.ssh/id_ed25519 >/dev/null 2>&1 # # echo "${{ secrets.SSH_USER }}" > $HOME/.ssh/id_ed25519 >/dev/null 2>&1
ls -lah $HOME/.ssh # ls -lah $HOME/.ssh
ls -lah ${{ steps.sshkey.outputs.filePath }} # ls -lah ${{ steps.sshkey.outputs.filePath }}
# chmod 600 $HOME/.ssh/id_ed25519 # # chmod 600 $HOME/.ssh/id_ed25519
- uses: https://github.com/cachix/cachix-action@v15 - uses: https://github.com/cachix/cachix-action@v15
if: ${{ !github.event.pull_request.head.repo.fork }} if: ${{ !github.event.pull_request.head.repo.fork }}