-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
38 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,23 @@ before_install: | |
- sudo apt-get install --no-install-recommends -y mono-devel ca-certificates-mono | ||
|
||
script: | ||
- git config --global user.email "[email protected]" | ||
- git config --global user.name "Travis gh pages" | ||
- cd modules/der-reader | ||
- yarn install | ||
- npm run build | ||
- cd dist | ||
- ls | ||
- git status | ||
- git init | ||
- git add . | ||
- git commit -m "Deploy to Github Pages" | ||
- git status | ||
- git push --force --quiet "https://${GITHUB_API_TOKEN}@github.com/makinacorpus/accessimap-lecteur-der.git" master:gh-pages > /dev/null 2>&1 | ||
- cd ../../../electron | ||
- yarn install | ||
- npm run build | ||
- ls $TRAVIS_BUILD_DIR/electron/dist/accessimap* | ||
- 'chmod 700 deploy.sh' | ||
- ./deploy.sh | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters