fix: CI: UID and custom config file
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
4773c97187
commit
afa6fd0c6a
1 changed files with 14 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue