ci: 👷 update drone config
Some checks are pending
continuous-integration/drone/push Build is pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 15s
continuous-integration/drone Build is pending

This commit is contained in:
jqtmviyu 2024-07-25 07:33:55 +08:00
parent c166f8f320
commit 74d26f306f

View File

@ -4,42 +4,42 @@ name: Gitea Actions Demo
steps: steps:
- name: echo event - name: echo event
image: alpine:latest image: arm64v8/alpine:latest
commands: commands:
- echo "🎉 The job was automatically triggered by a push event." - echo "🎉 The job was automatically triggered by a push event."
- name: echo runner os - name: echo runner os
image: alpine:latest image: arm64v8/alpine:latest
commands: commands:
- echo "🐧 This job is now running on a Linux server hosted by Gitea!" - echo "🐧 This job is now running on a Linux server hosted by Gitea!"
- name: echo branch and repository - name: echo branch and repository
image: alpine:latest image: arm64v8/alpine:latest
commands: commands:
- echo "🔎 The name of your branch is $DRONE_COMMIT_BRANCH and your repository is $DRONE_REPO." - echo "🔎 The name of your branch is $DRONE_COMMIT_BRANCH and your repository is $DRONE_REPO."
- name: checkout repository - name: checkout repository
image: alpine:latest image: arm64v8/alpine:latest
commands: commands:
- apk add --no-cache git - apk add --no-cache git
- git clone http://172.17.0.1:3000/$DRONE_REPO.git . - git clone http://172.17.0.1:3000/$DRONE_REPO.git .
- name: echo repository cloned - name: echo repository cloned
image: alpine:latest image: arm64v8/alpine:latest
commands: commands:
- echo "💡 The $DRONE_REPO repository has been cloned to the runner." - echo "💡 The $DRONE_REPO repository has been cloned to the runner."
- name: echo workflow ready - name: echo workflow ready
image: alpine:latest image: arm64v8/alpine:latest
commands: commands:
- echo "🖥️ The workflow is now ready to test your code on the runner." - echo "🖥️ The workflow is now ready to test your code on the runner."
- name: list files in repository - name: list files in repository
image: alpine:latest image: arm64v8/alpine:latest
commands: commands:
- ls . - ls .
- name: echo job status - name: echo job status
image: alpine:latest image: arm64v8/alpine:latest
commands: commands:
- echo "🍏 This job's status is $DRONE_BUILD_STATUS." - echo "🍏 This job's status is $DRONE_BUILD_STATUS."