mirror of
https://github.com/koalyptus/TableFilter.git
synced 2024-05-14 12:27:05 +02:00
gh-pages provider in travis
This commit is contained in:
parent
b08b517fa7
commit
bf2f2bd747
19
.travis.yml
19
.travis.yml
|
@ -18,13 +18,20 @@ before_deploy:
|
||||||
- git config --global user.name "koalyptus"
|
- git config --global user.name "koalyptus"
|
||||||
- export GIT_TAG=$(node -p -e "require('./package.json').version")
|
- export GIT_TAG=$(node -p -e "require('./package.json').version")
|
||||||
- echo -n $GIT_TAG
|
- echo -n $GIT_TAG
|
||||||
- git tag $GIT_TAG -am "Generated tag from TravisCI build $TRAVIS_BUILD_NUMBER"
|
- git tag $GIT_TAG -am -f "Generated tag from TravisCI build $TRAVIS_BUILD_NUMBER"
|
||||||
deploy:
|
deploy:
|
||||||
provider: releases
|
- provider: releases
|
||||||
on:
|
on:
|
||||||
branch: master
|
branch: master
|
||||||
api_key: $GITHUB_OAUTH_ACCESS_TOKEN
|
api_key: $GITHUB_OAUTH_ACCESS_TOKEN
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
|
- provider: pages
|
||||||
|
local-dir: dist
|
||||||
|
skip-cleanup: true
|
||||||
|
github-token: $GITHUB_OAUTH_ACCESS_TOKEN
|
||||||
|
keep-history: true
|
||||||
|
on:
|
||||||
|
branch: master
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- secure: A1G8GvJkV0rjy7XCTVdOpTHy3xaoSZZAbMWhI+ikrqBqd8mRz+sB71FhRusouTcYdsT5VfF9Io2doS8LKAeP0TNC34Pp0uvjtsvarzn8a/oNEOuqR3Ub0ws2bmbZIZc+wOpgErKOj1H1QSJAUpd6ZjIuEAbOVXlhGBJz3zUCmcpRDh32CpFKC62oFWeGlvttxPciLLzBfKgkVKEGhPtdGP/xCHL1MCQptYVHZiXwWsaIQ5wHFO6KCVlRrPgdfOL+Yce3mT02iXH6ZjW6U6zA6vYQVQZVD873AkU5RmirYblW+jW1wdvu4UXI71lSH6Z3uXRVnrw1b0TsL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gruntfile.js
46
Gruntfile.js
|
@ -152,14 +152,14 @@ module.exports = function (grunt) {
|
||||||
branch: 'gh-pages',
|
branch: 'gh-pages',
|
||||||
add: true
|
add: true
|
||||||
},
|
},
|
||||||
'publish-lib': {
|
// 'publish-lib': {
|
||||||
options: {
|
// options: {
|
||||||
base: 'dist',
|
// base: 'dist',
|
||||||
repo: 'https://' + repo,
|
// repo: 'https://' + repo,
|
||||||
message: 'publish TableFilter lib to gh-pages (cli)'
|
// message: 'publish TableFilter lib to gh-pages (cli)'
|
||||||
},
|
// },
|
||||||
src: ['**/*']
|
// src: ['**/*']
|
||||||
},
|
// },
|
||||||
'publish-readme': {
|
'publish-readme': {
|
||||||
options: {
|
options: {
|
||||||
base: './',
|
base: './',
|
||||||
|
@ -176,19 +176,19 @@ module.exports = function (grunt) {
|
||||||
},
|
},
|
||||||
src: ['**/*']
|
src: ['**/*']
|
||||||
},
|
},
|
||||||
'deploy-lib': {
|
// 'deploy-lib': {
|
||||||
options: {
|
// options: {
|
||||||
user: {
|
// user: {
|
||||||
name: 'koalyptus'
|
// name: 'koalyptus'
|
||||||
},
|
// },
|
||||||
base: 'dist',
|
// base: 'dist',
|
||||||
repo: 'https://' + process.env.GH_TOKEN + '@' + repo,
|
// repo: 'https://' + process.env.GH_TOKEN + '@' + repo,
|
||||||
message: 'publish TableFilter to gh-pages (auto)' +
|
// message: 'publish TableFilter to gh-pages (auto)' +
|
||||||
getDeployMessage(),
|
// getDeployMessage(),
|
||||||
silent: true
|
// silent: true
|
||||||
},
|
// },
|
||||||
src: ['**/*']
|
// src: ['**/*']
|
||||||
},
|
// },
|
||||||
'deploy-readme': {
|
'deploy-readme': {
|
||||||
options: {
|
options: {
|
||||||
user: {
|
user: {
|
||||||
|
@ -255,7 +255,7 @@ module.exports = function (grunt) {
|
||||||
|
|
||||||
// Publish to gh-pages
|
// Publish to gh-pages
|
||||||
grunt.registerTask('publish', 'Publish from CLI', [
|
grunt.registerTask('publish', 'Publish from CLI', [
|
||||||
'build', 'build-demos', 'esdoc', 'gh-pages:publish-lib',
|
'build', 'build-demos', 'esdoc', /*'gh-pages:publish-lib',*/
|
||||||
'gh-pages:publish-readme', 'gh-pages:publish-docs'
|
'gh-pages:publish-readme', 'gh-pages:publish-docs'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
@ -341,7 +341,7 @@ module.exports = function (grunt) {
|
||||||
grunt.log.writeln('executing deployment');
|
grunt.log.writeln('executing deployment');
|
||||||
// queue deploy
|
// queue deploy
|
||||||
grunt.task.run([
|
grunt.task.run([
|
||||||
'gh-pages:deploy-lib',
|
// 'gh-pages:deploy-lib',
|
||||||
'gh-pages:deploy-readme',
|
'gh-pages:deploy-readme',
|
||||||
'gh-pages:deploy-docs'
|
'gh-pages:deploy-docs'
|
||||||
]);
|
]);
|
||||||
|
|
4
dist/starter.html
vendored
4
dist/starter.html
vendored
|
@ -1,10 +1,10 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>tablefilter v0.6.25 - Starter</title>
|
<title>tablefilter v0.6.32 - Starter</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>tablefilter v0.6.25</h1>
|
<h1>tablefilter v0.6.32</h1>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
2
dist/tablefilter/tablefilter.js
vendored
2
dist/tablefilter/tablefilter.js
vendored
File diff suppressed because one or more lines are too long
2
dist/tablefilter/tablefilter.js.map
vendored
2
dist/tablefilter/tablefilter.js.map
vendored
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "tablefilter",
|
"name": "tablefilter",
|
||||||
"version": "0.6.31",
|
"version": "0.6.32",
|
||||||
"description": "A Javascript library making HTML tables filterable and a bit more",
|
"description": "A Javascript library making HTML tables filterable and a bit more",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": {
|
"author": {
|
||||||
|
|
Loading…
Reference in a new issue