2024-03-08 15:37:12 -05:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: frontend
|
|
|
|
image: node
|
|
|
|
commands:
|
|
|
|
- npm install
|
|
|
|
- npm run build
|
2024-03-08 15:50:22 -05:00
|
|
|
- npx wrangler pages deploy dist --project-name=the-abstraction-engine
|
2024-03-08 15:41:08 -05:00
|
|
|
environment:
|
|
|
|
CLOUDFLARE_API_TOKEN:
|
|
|
|
from_secret: CLOUDFLARE_API_TOKEN
|
|
|
|
CLOUDFLARE_ACCOUNT_ID:
|
|
|
|
from_secret: CLOUDFLARE_ACCOUNT_ID
|
2024-03-09 03:24:37 -05:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- main
|