update drone
This commit is contained in:
parent
b48e91f36d
commit
11bc96a7ee
|
|
@ -18,11 +18,14 @@ steps:
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
|
environment:
|
||||||
|
GIT_TOKEN:
|
||||||
|
from_secret: git_token
|
||||||
commands:
|
commands:
|
||||||
- rm -rf /opt/build/arah-negeri
|
- rm -rf /opt/build/web-arah-negeri
|
||||||
- mkdir -p /opt/build
|
- mkdir -p /opt/build
|
||||||
- cd /opt/build
|
- cd /opt/build
|
||||||
- git clone http://38.47.180.165:3000/medol/web-arah-negeri.git
|
- git clone http://medol:${GIT_TOKEN}@38.47.180.165:3000/medol/web-arah-negeri.git
|
||||||
|
|
||||||
- name: build fe
|
- name: build fe
|
||||||
commands:
|
commands:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue