Skip to content

Commit

Permalink
feat(drone): add develop to deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
GimmyHchs committed Jun 2, 2018
1 parent 6ac9090 commit 34285c0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pipeline:
- cp -R $DRONE_WORKSPACE $DRONE_WORKSPACE/../src
- mv $DRONE_WORKSPACE/../src $DRONE_WORKSPACE
when:
branch: [ master ]
branch: [ master, develop ]

pre-production:
image: hchstera/laravel-workspace
Expand All @@ -58,11 +58,10 @@ pipeline:
tags:
- latest
- ${DRONE_COMMIT_BRANCH}
- ${DRONE_COMMIT_BRANCH}-${DRONE_BUILD_NUMBER}
secrets: [ docker_username, docker_password ]
when:
event: [ push ]
branch: [ master ]
branch: [ master, develop ]

deploy:
image: appleboy/drone-ssh
Expand All @@ -83,7 +82,7 @@ pipeline:
- docker network prune -f
when:
event: [ push ]
branch: [ master ]
branch: [ master, develop ]


## notifications
Expand Down

0 comments on commit 34285c0

Please sign in to comment.