update-deployment-workflow #18
1 changed files with 1 additions and 3 deletions
|
@ -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
|
|
||||||
|
|
Loading…
Reference in a new issue