Skip to content
This repository was archived by the owner on Jun 5, 2024. It is now read-only.

Commit

Permalink
clone already checks out the right commit
Browse files Browse the repository at this point in the history
  • Loading branch information
wkloucek committed Oct 21, 2021
1 parent 8a94dc9 commit 323f075
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,7 @@ def buildOCIS():
'name': 'generate-ocis',
'image': OC_CI_NODEJS,
'commands': [
'source .drone.env',
'cd $GOPATH/src/github.com/owncloud/ocis',
'git checkout $OCIS_COMMITID',
'make ci-node-generate',
],
'volumes': [{
Expand All @@ -144,10 +142,7 @@ def buildOCIS():
'name': 'build-ocis',
'image': OC_CI_GOLANG,
'commands': [
'source .drone.env',
'cd $GOPATH/src/github.com/owncloud/ocis',
'git checkout $OCIS_COMMITID',
'cd ocis',
'cd $GOPATH/src/github.com/owncloud/ocis/ocis',
'make build',
'cp bin/ocis /var/www/owncloud'
],
Expand Down

0 comments on commit 323f075

Please sign in to comment.