mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Merge pull request #154 from Human-Connection/deploy_github_pages_through_travis
Deploy Github pages through Travis CI
This commit is contained in:
commit
8dafc50286
23
.travis.yml
23
.travis.yml
@ -8,7 +8,7 @@ cache:
|
||||
|
||||
install:
|
||||
- yarn install --production=false --frozen-lockfile --non-interactive
|
||||
# - yarn build
|
||||
- yarn build
|
||||
- yarn build:lib
|
||||
|
||||
before_deploy:
|
||||
@ -16,10 +16,17 @@ before_deploy:
|
||||
- rm -Rf ./src/system/icons/_all
|
||||
- rm -Rf ./src/system/tokens/_examples
|
||||
deploy:
|
||||
provider: npm
|
||||
skip_cleanup: true
|
||||
email: $NPM_EMAIL
|
||||
api_key: $NPM_TOKEN
|
||||
on:
|
||||
tags: true
|
||||
branch: master
|
||||
- provider: npm
|
||||
skip_cleanup: true
|
||||
email: $NPM_EMAIL
|
||||
api_key: $NPM_TOKEN
|
||||
on:
|
||||
tags: true
|
||||
branch: master
|
||||
- provider: pages
|
||||
skip_cleanup: true
|
||||
github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
|
||||
keep_history: true
|
||||
on:
|
||||
tags: true
|
||||
branch: master
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user