diff --git a/.woodpecker.yml b/.woodpecker.yml index 59ae518..ded9854 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -9,6 +9,7 @@ steps: build: image: node:18 commands: + - curl http://forgejo:3000 - corepack enable - corepack prepare pnpm@latest-8 --activate - pnpm install @@ -21,9 +22,21 @@ services: forgejo: image: codeberg.org/forgejo/forgejo:1.20.1-0 environment: + - USER_UID=1000 + - USER_GID=1000 - FORGEJO_cors_ENABLED=true - FORGEJO_cors_ALLOW_DOMAIN="*" - FORGEJO_cors_METHODS="GET,HEAD,POST,PUT,PATCH,DELETE,OPTIONS" - FORGEJO_cors_ALLOW_CREDENTIALS=false volumes: - - /woodpecker/src/git.batsense.net/realaravinth/forgejo-notifications-core:/data/gitea/conf/ci/app.ini + - /woodpecker/src/git.batsense.net/realaravinth/forgejo-notifications-core/integration/conf/ci/app.ini:/data/gitea/conf/app.ini + # + # deploy_docs: + # image: python + # when: + # event: [push, pull_request, tag, deployment] + # commands: + # - make env + # - make + # - make ci-deploy + # secrets: [GITEA_WRITE_DEPLOY_KEY, LIBREPAGES_DEPLOY_SECRET]