github_pages_rake_tasks 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +12 -5
- data/README.md +2 -2
- data/lib/github_pages_rake_tasks/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71feedbea3a7b3a3ba77e353c1afff5149689dc04a855bff133535efb00d4fa5
|
4
|
+
data.tar.gz: 8fa5b5affc6d89da6d566a71e5ba85de9266194371cc5d443c8a8ee2f9d228f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7523979ac5e454688786d078193382b9f4f4b1ed1ac5cfc4d61637599a3be401fdfeaca0c0441bc012f24aee504c98a9f86a3c73e41b99f2d48a591fb2b6d67
|
7
|
+
data.tar.gz: 1c7435fedb69c97a1c06d30bb4ef98e7ccee977fe51695f95d34024c138b0dbc22eb9a9dc3479df0795b0345fe222fd5bc9b1374f73ff248571641d2524f410d
|
data/.travis.yml
CHANGED
@@ -10,11 +10,18 @@ cache: bundler
|
|
10
10
|
before_install: gem install bundler -v 2.0.1
|
11
11
|
|
12
12
|
before_deploy:
|
13
|
-
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
13
|
+
- >
|
14
|
+
if ! [ "$HAS_ALREADY_RUN" ]; then
|
15
|
+
export HAS_ALREADY_RUN=1
|
16
|
+
echo "machine github.com\n login jcouball\n password ${GITHUB_TOKEN}" > ~/.netrc
|
17
|
+
git config --global user.email "travis@travis-ci.org"
|
18
|
+
git config --global user.name "Travis CI"
|
19
|
+
git checkout ${TRAVIS_BRANCH}
|
20
|
+
gem install bump
|
21
|
+
bump patch --commit-message "[skip ci]"
|
22
|
+
remote=https://$GITHUB_TOKEN@github.com/$TRAVIS_REPO_SLUG
|
23
|
+
git push --follow-tags "$remote" "$TRAVIS_BRANCH"
|
24
|
+
fi
|
18
25
|
|
19
26
|
deploy:
|
20
27
|
- provider: pages
|
data/README.md
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
[![Build Status](https://travis-ci.com/jcouball/github_pages_rake_tasks.svg?branch=master)](https://travis-ci.com/jcouball/github_pages_rake_tasks)
|
6
6
|
[![Documentation](https://img.shields.io/badge/Documentation-OK-green.svg)](https://jcouball.github.io/github_pages_rake_tasks/)
|
7
7
|
|
8
|
-
The `github_pages_rake_tasks` gem creates a rake task that pushes
|
8
|
+
The `github_pages_rake_tasks` gem creates a rake task that pushes files
|
9
9
|
from a local documentation directory to a remote Git repository branch.
|
10
10
|
|
11
11
|
By default, the rake task `github-pages:publish` is created which pushes the `doc`
|
12
|
-
directory within the local copy of
|
12
|
+
directory within the local copy of a repository to the same repository's
|
13
13
|
`gh-pages` branch. The contents of the branch are completely replaced by the
|
14
14
|
contents of the documentation directory.
|
15
15
|
|