Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
019ef6f6
Commit
019ef6f6
authored
Jul 21, 2016
by
Mikhail Glushenkov
Committed by
GitHub
Jul 21, 2016
Browse files
Attempt to unbreak doc uploading.
parent
487565aa
Changes
1
Show whitespace changes
Inline
Side-by-side
travis-deploy.sh
View file @
019ef6f6
...
...
@@ -4,16 +4,13 @@ set -ex
deploy
()
{
git config
--global
user.email
"builds@travis-ci.org"
git config
--global
user.name
"Travis CI User"
git clone https://github.com/haskell/cabal-website.git ../cabal-website
cd
../cabal-website
git checkout
--track
-b
gh-pages origin/gh-pages
cd
-
mkdir
-p
../cabal-website/doc/html
mv
Cabal/dist/doc/html/Cabal ../cabal-website/doc/html/Cabal
cd
../cabal-website
git add
--all
.
git commit
--amend
--reset-author
-m
"Deploy to GitHub (
$(
date
)
)."
git push
--force
git@github.com:haskell/cabal-website.git gh-pages:gh-pages
git clone https://github.com/haskell/cabal-website.git cabal-website
(
cd
cabal-website
&&
git checkout
--track
-b
gh-pages origin/gh-pages
)
mkdir
-p
cabal-website/doc/html
mv
Cabal/dist/doc/html/Cabal cabal-website/doc/html/Cabal
(
cd
cabal-website
&&
git add
--all
.
)
(
cd
cabal-website
&&
git commit
--amend
--reset-author
-m
"Deploy to GitHub (
$(
date
)
)."
)
(
cd
cabal-website
&&
git push
--force
git@github.com:haskell/cabal-website.git gh-pages:gh-pages
)
}
if
[
"x
$TRAVIS_PULL_REQUEST
"
=
"xfalse"
-a
"x
$TRAVIS_BRANCH
"
=
"xmaster"
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment