Not using a CDN on production
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
33
.drone.yml
33
.drone.yml
@@ -103,39 +103,6 @@ steps:
|
||||
|
||||
|
||||
|
||||
#
|
||||
# Purge CDN
|
||||
#
|
||||
# DEV
|
||||
- name: cdn-purge-dev
|
||||
image: plugins/webhook
|
||||
settings:
|
||||
urls:
|
||||
from_secret: cdn_purgeurl_dev
|
||||
headers:
|
||||
from_secret: cdn_accesskey
|
||||
method: POST
|
||||
failure: ignore
|
||||
when:
|
||||
branch:
|
||||
- dev
|
||||
|
||||
# PROD
|
||||
- name: cdn-purge-prod
|
||||
image: plugins/webhook
|
||||
settings:
|
||||
urls:
|
||||
from_secret: cdn_purgeurl_prod
|
||||
headers:
|
||||
from_secret: cdn_accesskey
|
||||
method: POST
|
||||
failure: ignore
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
|
||||
|
||||
|
||||
#
|
||||
# Rebuild cache
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user