Commit 9d716cdd authored by Wen Wei Li's avatar Wen Wei Li

show env

parent 50214e94
---
kind: pipeline
type: docker
name: default
steps:
- name: show env
image: golang
# image: ghcr.io/appleboy/drone-ssh
#settings:
# host:
# - 192.168.0.22
# username: root
# password:
# from_secret: ssh_password
# port: 22
# command_timeout: 30s
commands:
commands:
- echo "DRONE_BUILD_ACTION = ${DRONE_BUILD_ACTION}"
- echo "DRONE_BUILD_CREATED = ${DRONE_BUILD_CREATED}"
- echo "DRONE_BUILD_EVENT = ${DRONE_BUILD_EVENT}"
......@@ -80,7 +74,16 @@ steps:
- echo "DRONE_TAG = ${DRONE_TAG}"
- echo "DRONE_TARGET_BRANCH = ${DRONE_TARGET_BRANCH}"
#script:
#- echo "Hello World" > /tmp/hello
#- kubectl get pods -n ricplt
#- echo $(pwd)
# image: ghcr.io/appleboy/drone-ssh
#settings:
# host:
# - 192.168.0.22
# username: root
# password:
# from_secret: ssh_password
# port: 22
# command_timeout: 30s
#script:
# - echo "Hello World" > /tmp/hello
# - kubectl get pods -n ricplt
# - echo $(pwd)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment