webzone/.drone.yml
Sam Therapy d187ec525b
Some checks failed
continuous-integration/drone/push Build is failing
Overhaul my website by just using a template
2024-03-24 17:10:01 +01:00

49 lines
970 B
YAML

kind: pipeline
type: docker
name: Build & Deploy
steps:
- name: Build site
image: denoland/deno
commands:
- deno task build
- name: Deploy to Deno Deploy
image: git.froth.zone/sam/drone-deno-deploy
environment:
DENO_DEPLOY_TOKEN:
from_secret: DENO_DEPLOY_TOKEN
settings:
project: samme
entrypoint: server.ts
production: true
include: _site,server.ts,deno.json
import_map: deno.json
depends_on:
- "Build site"
when:
branch:
- master
event:
- push
- name: Push to Pages
image: plugins/gh-pages
settings:
remote_url:
from_secret: URL
password:
from_secret: PASS
target_branch: pages
pages_directory: _site
copy_contents: true
user_name: Sam Therapy
user_email: sam@samtherapy.net
depends_on:
- "Build site"
when:
branch:
- master
event:
- push