Sam Therapy
3971f4171f
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Sam Therapy <sam@samtherapy.net>
20 lines
429 B
YAML
20 lines
429 B
YAML
kind: 'pipeline'
|
|
type: 'docker'
|
|
name: 'Build and Deploy'
|
|
|
|
steps:
|
|
- name: Build
|
|
image: 'node:20'
|
|
commands:
|
|
- corepack enable && pnpm config set store-dir .cache/pnpm
|
|
- pnpm i
|
|
- pnpm build
|
|
- name: Deploy
|
|
image: 'plugins/gh-pages'
|
|
settings:
|
|
username: oauth2
|
|
password:
|
|
from_secret: GITEA_TOKEN
|
|
copy_contents: true
|
|
pages_directory: build
|
|
target_branch: pages
|