try this
Some checks failed
flake check / check (push) Has been cancelled
deploy systems / deploy (push) Failing after 9m36s
fmt check / check (push) Successful in 42s

This commit is contained in:
notohh 2023-10-21 02:41:33 -04:00
parent ccb33cb1f8
commit cdfbf13fcd
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -14,14 +14,12 @@ jobs:
run: | run: |
mkdir -p .ssh && cd .ssh mkdir -p .ssh && cd .ssh
echo "$SSH_KEY" > forgejo echo "$SSH_KEY" > forgejo
echo "$SSH_KNOWN_HOSTS" > known_hosts
chmod 400 forgejo chmod 400 forgejo
shell: bash shell: bash
env: env:
SSH_KEY: ${{secrets.SSH_DEPLOY_KEY}} SSH_KEY: ${{secrets.SSH_DEPLOY_KEY}}
SSH_KNOWN_HOSTS: ${{secrets.SSH_KNOWN_HOSTS}}
- name: deploy - name: deploy
run: | run: |
bash
cd .ssh cd .ssh
nix run github:serokell/deploy-rs -- --ssh-opts="-i forgejo -o StrictHostKeyChecking=no UserKnownHostsFile=/dev/null" --skip-checks --targets .#sakura nix run github:serokell/deploy-rs -- --ssh-opts="-i forgejo -o StrictHostKeyChecking=no UserKnownHostsFile=/dev/null" --skip-checks --targets .#sakura
shell: bash