You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
demoncord-rewrite/.woodpecker.yml

23 lines
630 B

pipeline:
build:
image: node:18-alpine
commands:
- npm install -g pnpm
- pnpm i
- echo -e "[values]\n_DEBUG=0\n_CORS_URL='https://cors.ruthenic.com/'" > options.toml
- pnpm build
when:
event: [ pull_request, push ]
publish:
image: alpine
secrets: [ ssh_key ]
commands:
- apk add --no-cache git openssh >/dev/null
- mkdir ~/.ssh
- echo $ssh_key > ~/.ssh/id_ed25519
- ssh-add ~/.ssh/id_ed25519
- git config user.name "Woodpecker"
- git config user.email "no-reply@mail.ruthenic.com"
- git commit -am "Update build"
- git push