mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
24 lines
477 B
YAML
24 lines
477 B
YAML
language: php
|
|
php: 7.3
|
|
|
|
install: true
|
|
script: true
|
|
|
|
before_deploy:
|
|
- nvm install 10
|
|
- node -v
|
|
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.15.2
|
|
- export PATH="$HOME/.yarn/bin:$PATH"
|
|
- RELEASE_TAG=$TRAVIS_TAG ./scripts/release.sh
|
|
- RELEASE_TAG=$TRAVIS_TAG ./scripts/publish.sh
|
|
|
|
deploy:
|
|
provider: releases
|
|
api_key: $GITHUB_TOKEN
|
|
file: blessing-skin-server-$TRAVIS_TAG.zip
|
|
name: $TRAVIS_TAG
|
|
draft: true
|
|
skip_cleanup: true
|
|
on:
|
|
tags: true
|