try with schedule
All checks were successful
Build all NixOS Configurations / nix build (push) Successful in 3m7s

This commit is contained in:
Ingolf Wagner 2024-07-21 12:32:04 +02:00
parent 17d6733c21
commit d3f064cc3b
Signed by: palo
GPG key ID: 76BF5F1928B9618B

View file

@ -13,6 +13,24 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: update nix flakes
if: ${{ github.event_name == 'schedule' }}
run: |
cat <<EOF > .ssh_key
${{ secrets.SSH_KEY }}
EOF
chmod 600 .ssh_key
eval $(ssh-agent)
ssh-add .ssh_key
nix flake update
echo $SSH_AGENT_PID
kill $SSH_AGENT_PID
rm .ssh_key
- name: nix flake archive
run: |
cat <<EOF > .id_rsa