Skip to content

Commit

Permalink
create user/group in drone
Browse files Browse the repository at this point in the history
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
  • Loading branch information
tobiasKaminsky committed Aug 20, 2019
1 parent 2e7b50d commit cb58df5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ steps:
services:
- name: server
image: nextcloudci/server:server-3
commands:
- OC_PASS=user1 php occ user:add --password-from-env --display-name='User One' user1
- OC_PASS=user2 php occ user:add --password-from-env --display-name='User Two' user2
- php occ group:add users
- php occ group:adduser users user1
- php occ group:adduser users user2

trigger:
branch:
Expand Down

0 comments on commit cb58df5

Please sign in to comment.