Update Drone demo

pull/268/head
康怀帅 2017-11-30 18:34:14 +08:00 committed by GitHub
parent 99a7cd31b4
commit c68386e0e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,8 @@ pipeline:
- KEY=VALUE - KEY=VALUE
secrets: [key1, key2] secrets: [key1, key2]
commands: commands:
- echo $$KEY # - echo $$KEY
- pwd - pwd
- ls - ls
- CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o app . - CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o app .
- ./app