Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
6c3f821551
commit
84d81259e7
1 changed files with 39 additions and 0 deletions
39
.drone.yml
Normal file
39
.drone.yml
Normal file
|
@ -0,0 +1,39 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: Build & Deploy
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
steps:
|
||||
- name: Clone
|
||||
image: woodpeckerci/plugin-git
|
||||
settings:
|
||||
recursive: true
|
||||
|
||||
- name: Build site
|
||||
image: denoland/deno
|
||||
commands:
|
||||
- deno task build
|
||||
depends_on:
|
||||
- "Clone"
|
||||
|
||||
- name: Push to Pages
|
||||
image: plugins/gh-pages
|
||||
settings:
|
||||
remote_url:
|
||||
from_secret: URL
|
||||
password:
|
||||
from_secret: PASS
|
||||
target_branch: pages
|
||||
pages_directory: dist
|
||||
copy_contents: true
|
||||
user_name: Sam Therapy
|
||||
user_email: sam@samtherapy.net
|
||||
depends_on:
|
||||
- "Build site"
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- push
|
Loading…
Reference in a new issue