Comments (8)
Added a gthub action that does this for us. 😄
from hitchhackers_guide_brain.
So I have been able to deply on my accout:
https://remi-gau.github.io/tutorials-and-resources/programming/
But not yet on upstream it seems:
https://learn-neuroimaging.github.io/tutorials-and-resources/
from hitchhackers_guide_brain.
To sum up the Jitsi meeting :
- There are several tools to automate deployment with MkDocs (e.g. Travail, Netflify, etc.). Since we already use Travail for Markdown check, we can consider keeping Travis but this is not compulsory at all.
- We would like to decompose this task into 2 subtasks:
- Step 1) Check that MkDocs builds the website without issue when someone submit a PR
- Step 2) Automatically update the website when the PR is merged
- Examples of GitHub projects using MkDocs:
- "Awesome Python" : https://github.com/vinta/awesome-python / https://awesome-python.com/
- The BIDS Specifications : https://github.com/bids-standard/bids-specification/ / https://bids-specification.readthedocs.io/
from hitchhackers_guide_brain.
Awesome. :-) <3
Sounds good.
Will make sure you are admin in case you need to tweak things in the settings of the repo.
from hitchhackers_guide_brain.
If you look at the details of the deployment, you will see that MkDocsc built 463a40f commit which is the latest on the master
branch. :)
So, should we keep https://learn-neuroimaging.github.io/tutorials-and-resources/ for the moment ?
from hitchhackers_guide_brain.
If you look at the details of the deployment, you will see that MkDocsc built 463a40f commit which is the latest on the
master
branch. :)
but it did try to deploy it on a gh-pg branch, right?
So, should we keep https://learn-neuroimaging.github.io/tutorials-and-resources/ for the moment ?
yeah I think that for now we can keep this one.
from hitchhackers_guide_brain.
If you look at the details of the deployment, you will see that MkDocsc built 463a40f commit which is the latest on the
master
branch. :)
but it did try to deploy it on a gh-pg branch, right?
Indeed. From what I understand, mkdocs gh-deploy
creates a gh-pages
branch on the repo. However, it is not automatically updated when a new commit appears on master
. When you updated the website today, did you run mkdocs gh-deploy
?
I would be interested in finding a way to automatically deploy MkDocs using Jenkins or other solutions (e.g. GitHub Actions). I have never done this before. 🙃
from hitchhackers_guide_brain.
You are correct I simply, clone the upstream repo and did mkdocs gh-deploy
. Worked super quickly.
I wonder if we can do that with Travis as this is what we are using for the markdown linter.
Would be nice to learn how to do that. :-)
from hitchhackers_guide_brain.
Related Issues (20)
- prioritize contributing instructions
- Add information regarding genetics
- Add content to Quality Control section
- Add a badge to know the status of the Travis build
- Set up a welcome bot
- Remove redundant requirements.txt
- ReproNim Webinar Series
- Visualization resources
- specification for ingesting information from NITRC HOT 10
- Add Rocker
- Tag management
- Pipeline - Automatic Analysis HOT 7
- rsHRF
- Set up continuous integration
- [INFRA] let travis check for dead links HOT 3
- [INFRA] how do we curate list of papers, blog posts?
- Broken link on .README file for contribution guidelines.
- The Missing Semester of Your CS Education HOT 3
- Nighres HOT 2
- [INFRA] Tune Travis linter and/or fix all warnings.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hitchhackers_guide_brain.