pages-landing-page/.drone.yml
Sam Therapy 3971f4171f
All checks were successful
continuous-integration/drone/push Build is passing
retvrn to drone
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2024-03-17 01:16:50 +01:00

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