mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
added copy-env test task
This commit is contained in:
parent
def3f38c32
commit
3787df6689
1 changed files with 11 additions and 0 deletions
11
.drone.yml
11
.drone.yml
|
@ -7,6 +7,17 @@ platform:
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: copy-env-develop
|
||||||
|
image: alpine
|
||||||
|
when:
|
||||||
|
branch: develop
|
||||||
|
environment:
|
||||||
|
ENV_CONTENT:
|
||||||
|
from_secret: env_content_develop
|
||||||
|
commands:
|
||||||
|
- echo $${ENV_CONTENT} > ./.env_1
|
||||||
|
- echo ${ENV_CONTENT} > ./.env_2
|
||||||
|
- echo $env_content_develop > ./.env_3
|
||||||
- name: compress
|
- name: compress
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue