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
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:
parent
fa3e9e7058
commit
71e74662d9
1 changed files with 8 additions and 1 deletions
|
@ -10,6 +10,13 @@ jobs:
|
||||||
uses: https://github.com/DeterminateSystems/nix-installer-action@v5
|
uses: https://github.com/DeterminateSystems/nix-installer-action@v5
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GH_TOKEN }}
|
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
|
- name: deploy
|
||||||
run: |
|
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
|
||||||
|
|
Loading…
Reference in a new issue