diff --git a/.drone.yml b/.drone.yml index 9bf9b72..7ba97e5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,7 +11,8 @@ steps: - name: git clone image: drone/git commands: - - git clone https://gitea.apps.mngoma.lab/mngomalab/sampleapi.git . + # - git clone https://gitea.apps.mngoma.lab/mngomalab/sampleapi.git . + - git clone http://gitea-server.gitea.svc.cluster.local/mngomalab/sampleapi.git . - git checkout $DRONE_COMMIT # dotnet restore @@ -47,8 +48,11 @@ steps: # git clone code base - name: git clone image: drone/git + settings: + skip_verify: true commands: - - git clone https://gitea.apps.mngoma.lab/mngomalab/sampleapi.git . + # - git clone https://gitea.apps.mngoma.lab/mngomalab/sampleapi.git . + - git clone http://gitea-server.gitea.svc.cluster.local/mngomalab/sampleapi.git . - git checkout $DRONE_COMMIT # dotnet publish @@ -85,8 +89,11 @@ steps: # git clone code base - name: git clone image: drone/git + settings: + skip_verify: true commands: - - git clone https://gitea.apps.mngoma.lab/mngomalab/sampleapi.git . + # - git clone https://gitea.apps.mngoma.lab/mngomalab/sampleapi.git . + - git clone http://gitea-server.gitea.svc.cluster.local/mngomalab/sampleapi.git . - git checkout $DRONE_COMMIT - name: deploy