From 076aab6c1a1bb00510a75453f3801880ceff17e0 Mon Sep 17 00:00:00 2001 From: jqtmviyu Date: Thu, 25 Jul 2024 08:31:04 +0800 Subject: [PATCH] ci: :construction_worker: edit .drone.yml --- .drone.yml | 52 ++++++++++++---------------------------------------- 1 file changed, 12 insertions(+), 40 deletions(-) diff --git a/.drone.yml b/.drone.yml index 65397cf..27aed57 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,45 +1,17 @@ +--- kind: pipeline type: docker -name: Gitea Actions Demo +name: default + + +platform: + os: linux + arch: arm64 steps: - - name: echo event - image: arm64v8/alpine:latest + - name: greeting commands: - - echo "🎉 The job was automatically triggered by a push event." - - - name: echo runner os - image: arm64v8/alpine:latest - commands: - - echo "🐧 This job is now running on a Linux server hosted by Gitea!" - - - name: echo branch and repository - image: arm64v8/alpine:latest - commands: - - echo "🔎 The name of your branch is $DRONE_COMMIT_BRANCH and your repository is $DRONE_REPO." - - - name: checkout repository - image: arm64v8/alpine:latest - commands: - - apk add --no-cache git - - git clone http://172.17.0.1:3000/$DRONE_REPO.git . - - - name: echo repository cloned - image: arm64v8/alpine:latest - commands: - - echo "💡 The $DRONE_REPO repository has been cloned to the runner." - - - name: echo workflow ready - image: arm64v8/alpine:latest - commands: - - echo "🖥️ The workflow is now ready to test your code on the runner." - - - name: list files in repository - image: arm64v8/alpine:latest - commands: - - ls . - - - name: echo job status - image: arm64v8/alpine:latest - commands: - - echo "🍏 This job's status is $DRONE_BUILD_STATUS." + - echo hello world +trigger: + event: + - push