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

37 lines
822 B
YAML

pipeline:
build:
image: node:18-slim
commands:
- npm ci
- npm run build
prepare_release:
when:
event: tag
branch: master
tag: v*
image: node:18-slim
commands:
- tools/ci-make-release-targz.sh
create_release:
when:
event: tag
branch: master
tag: v*
image: plugins/gitea-release
settings:
api_key:
from_secret: releaser_auth_token
base_url: https://git.qcode.ch
files: nostrweb.tar.gz
note: "automated release by ${CI_SYSTEM_HOST} \nbuild id: ${CI_BUILD_NUMBER}"
rsync_dist:
when:
branch: master
event: tag
tag: v*
image: alpine:3.16.2
secrets: [releaser_ssh_key]
commands:
- apk add --no-cache --quiet openssh-client rsync
- tools/ci-rsync-release.sh