This commit is contained in:
parent
ca831cec40
commit
a56a81afed
24
.drone.yml
Normal file
24
.drone.yml
Normal file
@ -0,0 +1,24 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: Build and push
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: ghcr.io/uetchy/uechi.io
|
||||
tags: latest
|
||||
registry: ghcr.io
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
|
||||
- name: Trigger Watchtower Update
|
||||
image: alpine/curl
|
||||
commands:
|
||||
- |
|
||||
curl -s -H "Authorization: Bearer ${WATCHTOWER_TOKEN} https://watchtower.uechi.dev/v1/update
|
||||
environment:
|
||||
WATCHTOWER_TOKEN:
|
||||
from_secret: watchtower_token
|
@ -1,19 +0,0 @@
|
||||
---
|
||||
label: Blog post
|
||||
hide_body: false
|
||||
fields:
|
||||
- type: text
|
||||
name: title
|
||||
label: title
|
||||
config:
|
||||
required: false
|
||||
- type: datetime
|
||||
name: date
|
||||
label: date
|
||||
default: now
|
||||
config:
|
||||
required: true
|
||||
pages:
|
||||
- _posts/2019-10-25-bose-noise-cancelling-headphones-700レビュー.md
|
||||
- _posts/pixiv-spring-boot-camp-2020.md
|
||||
- _posts/静寂を得る方法.md
|
@ -1,28 +0,0 @@
|
||||
---
|
||||
new_page_extension: md
|
||||
auto_deploy: false
|
||||
admin_path: ""
|
||||
webhook_url:
|
||||
sections:
|
||||
- type: directory
|
||||
path: source/_posts
|
||||
label: Posts
|
||||
create: documents
|
||||
match: "**/*"
|
||||
- type: directory
|
||||
path: source/_pages
|
||||
label: Pages
|
||||
create: documents
|
||||
match: "**/*"
|
||||
upload_dir: source/uploads
|
||||
public_path: "/uploads"
|
||||
front_matter_path: ""
|
||||
use_front_matter_path: false
|
||||
file_template: ":filename:"
|
||||
build:
|
||||
preview_output_directory: public
|
||||
install_dependencies_command: npm i
|
||||
preview_docker_image: forestryio/ruby:2.6
|
||||
mount_path: "/srv"
|
||||
working_dir: "/srv"
|
||||
instant_preview_command: yarn server
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -8,4 +8,5 @@ db.json
|
||||
*.log
|
||||
public/
|
||||
.deploy*/
|
||||
yarn.lock
|
||||
yarn.lock
|
||||
.drone.secrets
|
Loading…
x
Reference in New Issue
Block a user