2024-06-07 21:56:55 +03:00
|
|
|
name: rust release-candidate CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ release-candidate ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
deploy:
|
|
|
|
runs-on: ubuntu-latest
|
2024-06-08 00:19:56 +03:00
|
|
|
timeout-minutes: 60
|
2024-06-07 21:56:55 +03:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build and deploy kinode
|
|
|
|
uses: appleboy/ssh-action@master
|
|
|
|
with:
|
2024-06-11 20:57:12 +03:00
|
|
|
host: ${{ secrets.SSH_API_HOST }}
|
2024-06-07 21:56:55 +03:00
|
|
|
username: ${{ secrets.SSH_USER }}
|
2024-06-11 20:57:12 +03:00
|
|
|
key: ${{ secrets.SSH_API_ED25519KEY }}
|
2024-06-07 21:56:55 +03:00
|
|
|
port: ${{ secrets.SSH_PORT }}
|
2024-06-08 03:34:08 +03:00
|
|
|
command_timeout: 60m
|
2024-06-07 21:56:55 +03:00
|
|
|
script: |
|
2024-06-11 22:17:45 +03:00
|
|
|
curl -X PUT http://localhost:8000/monitor/build-kinode
|