website/.woodpecker.yml
Sakooooo fead0d55c5
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
timed out lmao
2024-12-06 23:04:30 +04:00

26 lines
587 B
YAML

when:
- event: push
branch: master
steps:
build:
image: node
commands:
- echo "Installing pnpm..."
- npm install -g pnpm
- echo "Installing dependencies..."
- pnpm i --frozen-lockfile
- echo "Building..."
- pnpm run build
deploy:
image: node
environment:
CLOUDFLARE_ACCOUNT_ID:
from_secret: cloudflare_account_id
CLOUDFLARE_API_TOKEN:
from_secret: cloudflare_api_token
commands:
- echo "Moving..."
- cp -r dist/. /tmp/output
volumes:
- /home/docker/sakosite:/tmp/output