website/.woodpecker.yml
Sakooooo ddb514b6a2
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
oh my days
2024-12-06 18:42:11 +04:00

27 lines
580 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:
- /srv/sakosite:/tmp/output