This commit is contained in:
223
.drone.yml
223
.drone.yml
@@ -12,94 +12,94 @@ steps:
|
|||||||
#
|
#
|
||||||
# Restore cache (node_modules, build, etc)
|
# Restore cache (node_modules, build, etc)
|
||||||
#
|
#
|
||||||
# - name: cache-restore
|
- name: cache-restore
|
||||||
# image: meltwater/drone-cache:dev
|
image: meltwater/drone-cache:dev
|
||||||
# pull: true
|
pull: true
|
||||||
# volumes:
|
volumes:
|
||||||
# - name: cache
|
- name: cache
|
||||||
# path: /tmp/cache
|
path: /tmp/cache
|
||||||
# settings:
|
settings:
|
||||||
# backend: "filesystem"
|
backend: "filesystem"
|
||||||
# restore: true
|
restore: true
|
||||||
# cache_key: "volume"
|
cache_key: "volume"
|
||||||
# archive_format: "gzip"
|
archive_format: "gzip"
|
||||||
# mount:
|
mount:
|
||||||
# - "node_modules"
|
- "node_modules"
|
||||||
|
|
||||||
# #
|
#
|
||||||
# # Build Node.js app
|
# Build Node.js app
|
||||||
# #
|
#
|
||||||
# - name: build-node
|
- name: build-node
|
||||||
# image: node:latest
|
image: node:latest
|
||||||
# commands:
|
commands:
|
||||||
# - npm install -s
|
- npm install -s
|
||||||
# - npm run build
|
- npm run build
|
||||||
|
|
||||||
# #
|
#
|
||||||
# # Build the Docker image
|
# Build the Docker image
|
||||||
# #
|
#
|
||||||
# # DEV
|
# DEV
|
||||||
# - name: build-docker-dev
|
- name: build-docker-dev
|
||||||
# image: docker:latest
|
image: docker:latest
|
||||||
# volumes:
|
volumes:
|
||||||
# - name: docker_sock
|
- name: docker_sock
|
||||||
# path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
# commands:
|
commands:
|
||||||
# - docker build --pull --no-cache -t cetrucflotte/housesof:dev .
|
- docker build --pull --no-cache -t cetrucflotte/housesof:dev .
|
||||||
# when:
|
when:
|
||||||
# branch:
|
branch:
|
||||||
# - dev
|
- dev
|
||||||
|
|
||||||
# # PROD
|
# PROD
|
||||||
# - name: build-docker-prod
|
- name: build-docker-prod
|
||||||
# image: docker:latest
|
image: docker:latest
|
||||||
# volumes:
|
volumes:
|
||||||
# - name: docker_sock
|
- name: docker_sock
|
||||||
# path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
# commands:
|
commands:
|
||||||
# - docker build --pull --no-cache -t cetrucflotte/housesof:latest .
|
- docker build --pull --no-cache -t cetrucflotte/housesof:latest .
|
||||||
# when:
|
when:
|
||||||
# branch:
|
branch:
|
||||||
# - master
|
- master
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# #
|
#
|
||||||
# # Restart container
|
# Restart container
|
||||||
# #
|
#
|
||||||
# # DEV
|
# DEV
|
||||||
# - name: restart-container-dev
|
- name: restart-container-dev
|
||||||
# image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
# settings:
|
settings:
|
||||||
# host: housesof.world
|
host: housesof.world
|
||||||
# username:
|
username:
|
||||||
# from_secret: ssh_user
|
from_secret: ssh_user
|
||||||
# key:
|
key:
|
||||||
# from_secret: ssh_key
|
from_secret: ssh_key
|
||||||
# script:
|
script:
|
||||||
# - cd /data/sites/housesof.world/test
|
- cd /data/sites/housesof.world/test
|
||||||
# - docker-compose down
|
- docker-compose down
|
||||||
# - docker-compose up -d --remove-orphans
|
- docker-compose up -d --remove-orphans
|
||||||
# when:
|
when:
|
||||||
# branch:
|
branch:
|
||||||
# - dev
|
- dev
|
||||||
|
|
||||||
# # PROD
|
# PROD
|
||||||
# - name: restart-container-prod
|
- name: restart-container-prod
|
||||||
# image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
# settings:
|
settings:
|
||||||
# host: housesof.world
|
host: housesof.world
|
||||||
# username:
|
username:
|
||||||
# from_secret: ssh_user
|
from_secret: ssh_user
|
||||||
# key:
|
key:
|
||||||
# from_secret: ssh_key
|
from_secret: ssh_key
|
||||||
# script:
|
script:
|
||||||
# - cd /data/sites/housesof.world/www
|
- cd /data/sites/housesof.world/www
|
||||||
# - docker-compose down
|
- docker-compose down
|
||||||
# - docker-compose up -d --remove-orphans
|
- docker-compose up -d --remove-orphans
|
||||||
# when:
|
when:
|
||||||
# branch:
|
branch:
|
||||||
# - master
|
- master
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -111,11 +111,10 @@ steps:
|
|||||||
image: plugins/webhook
|
image: plugins/webhook
|
||||||
settings:
|
settings:
|
||||||
urls:
|
urls:
|
||||||
# from_secret: cdn_purgeurl_dev
|
from_secret: cdn_purgeurl_dev
|
||||||
- https://bunnycdn.com/api/pullzone/132513/purgeCache
|
|
||||||
headers:
|
headers:
|
||||||
from_secret: cdn_accesskey
|
from_secret: cdn_accesskey
|
||||||
debug: true
|
method: POST
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- dev
|
- dev
|
||||||
@@ -125,35 +124,35 @@ steps:
|
|||||||
#
|
#
|
||||||
# Rebuild cache
|
# Rebuild cache
|
||||||
#
|
#
|
||||||
# - name: cache-rebuild
|
- name: cache-rebuild
|
||||||
# image: meltwater/drone-cache:dev
|
image: meltwater/drone-cache:dev
|
||||||
# pull: true
|
pull: true
|
||||||
# volumes:
|
volumes:
|
||||||
# - name: cache
|
- name: cache
|
||||||
# path: /tmp/cache
|
path: /tmp/cache
|
||||||
# settings:
|
settings:
|
||||||
# backend: "filesystem"
|
backend: "filesystem"
|
||||||
# rebuild: true
|
rebuild: true
|
||||||
# cache_key: "volume"
|
cache_key: "volume"
|
||||||
# archive_format: "gzip"
|
archive_format: "gzip"
|
||||||
# mount:
|
mount:
|
||||||
# - "node_modules"
|
- "node_modules"
|
||||||
|
|
||||||
# #
|
#
|
||||||
# # Notify (by Email)
|
# Notify (by Email)
|
||||||
# #
|
#
|
||||||
# - name: notify-email
|
- name: notify-email
|
||||||
# image: drillster/drone-email
|
image: drillster/drone-email
|
||||||
# settings:
|
settings:
|
||||||
# skip_verify: true
|
skip_verify: true
|
||||||
# host: mail.flayks.com
|
host: mail.flayks.com
|
||||||
# username: admin@flayks.com
|
username: admin@flayks.com
|
||||||
# password:
|
password:
|
||||||
# from_secret: notify_email_password
|
from_secret: notify_email_password
|
||||||
# from: admin@flayks.com
|
from: admin@flayks.com
|
||||||
# recipients:
|
recipients:
|
||||||
# - admin@flayks.com
|
- admin@flayks.com
|
||||||
# recipients_only: true
|
recipients_only: true
|
||||||
|
|
||||||
|
|
||||||
# Mount cache volume
|
# Mount cache volume
|
||||||
|
|||||||
@@ -82,6 +82,7 @@
|
|||||||
|
|
||||||
<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