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.
19 lines
486 B
19 lines
486 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: plugins/git-push
|
|
secrets: [ ssh_key ]
|
|
settings:
|
|
path: ./dist
|
|
remote: ssh://git@git.ruthenic.com:2200/Demon/demoncord-builds.git
|
|
commit: true
|
|
commit_message: "Update build"
|