mirror of
https://github.com/simple-icons/simple-icons.git
synced 2024-11-26 01:00:27 +02:00
Update Travis CI configuration (#2536)
* Fix NPM deploy stage * Fix Travis CI configuration file according to errors ... as seen in - https://travis-ci.com/simple-icons/simple-icons/builds/147690404/config - https://travis-ci.com/simple-icons/simple-icons/jobs/284138938/config Note that `skip_cleanup` is no longer necessary according to https://docs.travis-ci.com/user/deployment-v2#cleaning-up-the-git-working-directory
This commit is contained in:
parent
53218be661
commit
f5708c980c
12
.travis.yml
12
.travis.yml
@ -1,3 +1,6 @@
|
||||
os: linux
|
||||
language: node_js
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- stage: "Test"
|
||||
@ -24,7 +27,7 @@ jobs:
|
||||
|
||||
- stage: deploy
|
||||
name: "Git tag"
|
||||
language: minimal
|
||||
language: shell
|
||||
if: branch = master
|
||||
|
||||
before_deploy:
|
||||
@ -34,18 +37,17 @@ jobs:
|
||||
- git tag $PACKAGE_VERSION
|
||||
deploy:
|
||||
provider: releases
|
||||
api_key: "$GITHUB_TOKEN"
|
||||
skip_cleanup: true
|
||||
token: "$GITHUB_TOKEN"
|
||||
- name: "NPM Package"
|
||||
language: node_js
|
||||
node_js: 8
|
||||
if: branch = master
|
||||
|
||||
deploy:
|
||||
edge: true
|
||||
provider: npm
|
||||
skip_cleanup: true
|
||||
email: "$NPM_EMAIL"
|
||||
api_key: "$NPM_KEY"
|
||||
api_token: "$NPM_KEY"
|
||||
on:
|
||||
branch: master
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user