user action secrets
All checks were successful
/ deploy (push) Successful in 19s

This commit is contained in:
toufic ar 2026-01-27 00:16:00 +02:00
parent 900e7a7b01
commit 61d5463500
Signed by: toufic ar
SSH key fingerprint: SHA256:/NaO5I1nG3gYKzrzSiTYIdRyaIYxDWfr1U+d+yfJ/4k
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ jobs:
set -e
mkdir -p /root/.ssh
ssh-keyscan toufy.me > /root/.ssh/known_hosts
echo "${{ secrets.SSH_KEY }}" | tr -d "\r" > /root/.ssh/id_ed25519
echo "${{ secrets.ACTIONS_SSH_KEY }}" | tr -d "\r" > /root/.ssh/id_ed25519
chmod -R 600 /root/.ssh
- name: copy repo to target
run: rsync -az . root@toufy.me:/etc/nixos

View file

@ -20,4 +20,4 @@ jobs:
run: |
git diff --exit-code flake.lock && exit 0 || echo ""
git commit -m "update flake.lock"
git push "https://actions_user:${{ secrets.WRITE_TOKEN }}@git.toufy.me/toufy/adonis" "main"
git push "https://actions_user:${{ secrets.ACTIONS_USER_TOKEN }}@git.toufy.me/toufy/adonis" "main"