Update .drone.yml

This commit is contained in:
Xuan Sang LE 2021-03-19 11:06:16 +01:00 committed by GitHub
parent 6b1c89fb0a
commit a73780345d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,14 +4,14 @@ type: exec
name: default name: default
platform: platform:
os: linux os: linux
arch: arm64 arch: amd64
clone: clone:
disable: true disable: true
steps: steps:
- name: clone - name: clone
commands: commands:
- pwd - pwd
- git clone git@iohub.dev:lxsang/sysmond.git - git clone ssh://git@iohub.dev:2222/lxsang/sysmond.git
- cd ./sysmond && git checkout master - cd ./sysmond && git checkout master
- name: build - name: build
commands: commands:
@ -20,10 +20,9 @@ steps:
- aclocal - aclocal
- autoconf - autoconf
- automake --add-missing - automake --add-missing
- ./configure --prefix=/usr - ./configure --prefix=/opt/cloud/artifacts/
- make - make
- install -m 755 sysmond /usr/bin/sysmond - make install
- systemctl restart sysmond
trigger: trigger:
branch: branch:
- master - master