Skip to content

Commit

Permalink
accept new hostkeys in deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
myOmikron committed May 13, 2023
1 parent 809f1ed commit a5a1050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: deploy to server
run: |
ssh [email protected] "cd /root/runciv && git pull && cargo build -r && install -o root /root/runciv/target/release/runciv /usr/local/bin/runciv && /usr/local/bin/runciv migrate /root/runciv/migrations/ && systemctl restart runciv.service"
ssh -o "StrictHostKeyChecking accept-new" [email protected] "cd /root/runciv && git pull && cargo build -r && install -o root /root/runciv/target/release/runciv /usr/local/bin/runciv && /usr/local/bin/runciv migrate /root/runciv/migrations/ && systemctl restart runciv.service"

0 comments on commit a5a1050

Please sign in to comment.