Add CDN deployment to production
This commit is contained in:
13
.drone.yml
13
.drone.yml
@@ -119,6 +119,19 @@ steps:
|
|||||||
branch:
|
branch:
|
||||||
- dev
|
- 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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -82,7 +82,6 @@
|
|||||||
|
|
||||||
<svelte:window bind:innerWidth={winWidth} />
|
<svelte:window bind:innerWidth={winWidth} />
|
||||||
|
|
||||||
cdn flush check
|
|
||||||
<main class="housesof" class:is-transitioning={!$pageReady}>
|
<main class="housesof" class:is-transitioning={!$pageReady}>
|
||||||
<section class="intro">
|
<section class="intro">
|
||||||
<div class="anim-mask">
|
<div class="anim-mask">
|
||||||
|
|||||||
Reference in New Issue
Block a user