diff --git a/.drone.yml b/.drone.yml index 8835677..0d46aeb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,11 +18,14 @@ steps: when: branch: - main + environment: + GIT_TOKEN: + from_secret: git_token commands: - - rm -rf /opt/build/arah-negeri + - rm -rf /opt/build/web-arah-negeri - mkdir -p /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 commands: