mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-12-02 08:02:23 +03:00
Merge pull request #417 from kinode-dao/jr/new-release-workflow
tagged release build workflow
This commit is contained in:
commit
e873d61664
23
.github/workflows/build_release.yml
vendored
Normal file
23
.github/workflows/build_release.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
name: rust tagged release in main CI
|
||||
|
||||
on:
|
||||
push:
|
||||
tags: ['v[0-9].[0-9]+.[0-9]+']
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/main'
|
||||
timeout-minutes: 60
|
||||
|
||||
steps:
|
||||
- name: build and deploy kinode
|
||||
uses: appleboy/ssh-action@master
|
||||
with:
|
||||
host: ${{ secrets.SSH_PROD_API_HOST }}
|
||||
username: ${{ secrets.SSH_PROD_USER }}
|
||||
key: ${{ secrets.SSH_PROD_API_ED25519KEY }}
|
||||
port: ${{ secrets.SSH_PROD_PORT }}
|
||||
command_timeout: 60m
|
||||
script: |
|
||||
curl -X PUT http://localhost:8000/monitor/build-kinode
|
Loading…
Reference in New Issue
Block a user