deploy: rewrite
Some checks failed
flake check / check (push) Has been cancelled
deploy systems / deploy (push) Failing after 9m15s
fmt check / check (push) Successful in 41s

This commit is contained in:
notohh 2023-10-21 00:58:54 -04:00
parent fa3e9e7058
commit 71e74662d9
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -10,6 +10,13 @@ jobs:
uses: https://github.com/DeterminateSystems/nix-installer-action@v5
with:
github-token: ${{ secrets.GH_TOKEN }}
- name: write private key
run: |
mkdir -p .ssh && cd .ssh
echo "$SSH_KEY" > forgejo
shell: bash
env:
SSH_KEY: ${{secrets.TEST_SSH_DEPLOY_KEY}}
- name: deploy
run: |
nix run github:serokell/deploy-rs -- --ssh-opts="-i ${{secrets.TEST_SSH_DEPLOY_KEY}}" --targets .#sakura .#yuki .#arashi .#kariru .#sora
nix run github:serokell/deploy-rs -- --ssh-opts="-i forgejo" --skip-checks --targets .#sakura