Add CDN deployment to production
This commit is contained in:
13
.drone.yml
13
.drone.yml
@@ -119,6 +119,19 @@ steps:
|
||||
branch:
|
||||
- dev
|
||||
|
||||
# PROD
|
||||
- name: cdn-purge-prod
|
||||
image: plugins/webhook
|
||||
settings:
|
||||
urls:
|
||||
from_secret: cdn_purgeurl_prod
|
||||
headers:
|
||||
from_secret: cdn_accesskey
|
||||
method: POST
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
|
||||
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user