diff --git a/.trustie-pipeline.yml b/.trustie-pipeline.yml index 4987635..d3d5657 100644 --- a/.trustie-pipeline.yml +++ b/.trustie-pipeline.yml @@ -1,21 +1,17 @@ -kind: pipeline -type: ssh -name: cicd -platform: - os: linux + +kind: pipeline +type: docker +name: deploy-unit3d +platform: + os: linux arch: amd64 -server: - host: deploy_ip - user: deploy_name - password: deploy_pwd steps: - - name: cicd - commands: - - echo ======= - - nerdctl rm -f testnginx - - nerdctl run --name testnginx -d -p 58080:80 nginx - - echo ==== nginx======= - - curl 127.0.0.1:58080 - - echo ========== - - echo http://localhost:555 - +- name: maven + image: maven:3-jdk-10 + commands: + - mvn install -DskipTests=true +trigger: + branch: + - main + event: + - push