This repository has been archived by the owner on May 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploy boisgera/CDIS to github.com/boisgera/CDIS.git:gh-pages
- Loading branch information
0 parents
commit e42813c
Showing
709 changed files
with
450,770 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Visual Studio Code | ||
settings.json | ||
|
||
# Conda Environment | ||
env | ||
src/pip-delete-this-directory.txt | ||
src/pandoc | ||
|
||
# Python | ||
*.pyc | ||
|
||
# Generated Documents | ||
*.*.* | ||
output | ||
*/output | ||
|
||
# Generated Images | ||
*/images/*.pdf | ||
*/images/*.svg | ||
|
||
# Other | ||
tmp |
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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
dist: xenial | ||
language: bash | ||
|
||
branches: | ||
only: | ||
- master | ||
|
||
env: | ||
global: | ||
- CONDA=https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh | ||
|
||
before_install: | ||
- sudo apt-get update | ||
- sudo apt-get --yes --force-yes install texlive-full | ||
- curl $CONDA > conda.sh | ||
- bash conda.sh -b -p $HOME/conda | ||
- export PATH=$HOME/conda/bin:$PATH | ||
- hash -r | ||
- conda config --set always_yes yes --set changeps1 no | ||
- conda update conda | ||
- conda info -a # debugging | ||
- conda env create -v -f environment.yml -p env | ||
- source activate ./env | ||
- curl -sL https://deb.nodesource.com/setup_8.x -o nodesource_setup.sh | ||
- sudo bash nodesource_setup.sh | ||
- sudo apt-get install nodejs | ||
- sudo npm install --unsafe-perm -g decktape | ||
# easiest way to get the dependencies of chromium right is to (re-)install it | ||
- sudo apt-get install chromium-browser | ||
|
||
install: | ||
- echo "fetching calendar ..." | ||
- mkdir -p Calendrier | ||
- python utils/calendrier/fetch.py > Calendrier/calendrier.txt | ||
- echo "install started ..." | ||
- ./build | ||
- cd Extra/"Comité Pédagogique 23-05-2019" && ./build --pdf && cp -rf output/* ../../output/ && cd ../.. | ||
# now prepare deployment to gh-pages | ||
- rm -rf env | ||
- mv .gitignore .gitignore.bak | ||
|
||
deploy: | ||
provider: pages | ||
skip-cleanup: true | ||
github-token: $GITHUB_TOKEN | ||
on: | ||
branch: master | ||
|
||
|
||
|
Oops, something went wrong.