mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-27 03:01:14 +08:00
Delete .travis.yml
This commit is contained in:
parent
0f5e003b6a
commit
810c7b9955
23
.travis.yml
23
.travis.yml
@ -1,23 +0,0 @@
|
||||
language: node_js
|
||||
cache:
|
||||
directories:
|
||||
- node_modules
|
||||
node_js:
|
||||
- '12'
|
||||
install:
|
||||
- yarn bootstrap
|
||||
script:
|
||||
- yarn website-build
|
||||
- export DEPLOY_DOMAIN=https://preview-${TRAVIS_PULL_REQUEST}-element-ui.surge.sh
|
||||
- echo "Deploy to ${DEPLOY_DOMAIN}"
|
||||
- npx surge --project ./website-dist --domain $DEPLOY_DOMAIN
|
||||
branches:
|
||||
only:
|
||||
- dev
|
||||
after_success:
|
||||
- echo "Deploy to ${DEPLOY_DOMAIN} SUCCESS"
|
||||
- curl --location --request POST ${BOT_URL} \
|
||||
--header 'Content-Type: application/json' \
|
||||
--data-raw '{"botAction": "Preview", "pr": ${TRAVIS_PULL_REQUEST}, "url": "${DEPLOY_DOMAIN}"}'
|
||||
after_failure:
|
||||
- echo "Deploy to ${DEPLOY_DOMAIN} FAILURE"
|
Loading…
Reference in New Issue
Block a user