Compare commits

...

2 commits

Author SHA1 Message Date
bd7ad0aab3
debug file output
Some checks failed
Build / nix-build (native-x86_64, telchar) (push) Failing after 1m22s
Build / nix-build (native-aarch64, varda) (push) Successful in 1m34s
2024-07-28 19:02:00 -05:00
0797ef3404
act workaround 2024-07-28 19:01:49 -05:00
2 changed files with 10 additions and 8 deletions

View file

@ -27,17 +27,18 @@ 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: $HOME/.ssh/
- name: Make id_ed25519 user only - name: Make id_ed25519 user only
run: | run: |
# output to null to avoid leaking the key
echo ${{ secrets.SSH_USER }} | base64 -d > $HOME/.ssh/id_ed25519 >/dev/null 2>&1
ls -la $HOME/.ssh ls -la $HOME/.ssh
echo ${{ 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 }}

1
.gitignore vendored
View file

@ -4,3 +4,4 @@ age.key
result* result*
.direnv .direnv
.kube .kube
.github