forgejo-notifications-core/.woodpecker.yml
Aravinth Manivannan 0c9f907b80
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
feat: CI: publish docs
2023-09-19 01:57:09 +05:30

32 lines
662 B
YAML

steps:
setup_forgeo:
image: python
commands:
- pip install requests
- make env.config
build:
image: node:18
commands:
- corepack enable
- corepack prepare pnpm@latest-8 --activate
- pnpm install
- pnpm run lint
- pnpm run test
- pnpm run build
- pnpm run doc
deploy_docs:
image: python
when:
event: [push, pull_request, tag, deployment]
commands:
- make ci-deploy
secrets: [GITEA_WRITE_DEPLOY_KEY, LIBREPAGES_DEPLOY_SECRET]
services:
forgejo:
image: codeberg.org/forgejo/forgejo:1.20.1-0
environment:
- USER_UID=1000
- USER_GID=1000