File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed
Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 1+ on : [push]
2+
3+ jobs :
4+ build_docs_job :
5+ runs-on : ubuntu-latest
6+ strategy :
7+ matrix :
8+ python-version : [3.6]
9+ steps :
10+ - name : Checkout
11+ uses : actions/checkout@v2
12+ - name : Dependencies
13+ run : |
14+ sudo apt-get install -y yarn
15+ id : build
16+ - name : Build the Website
17+ run : |
18+ cd docs
19+ yarn
20+ npm run build
21+ - name : Deploy
22+ uses : JamesIves/github-pages-deploy-action@releases/v3
23+ with :
24+ ACCESS_TOKEN : ${{ secrets.GITHUB_TOKEN }}
25+ BRANCH : gh-pages # The branch the action should deploy to.
26+ FOLDER : docs/build # The folder the action should deploy.
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ module.exports = {
1212 title : 'Mapillary Python SDK' ,
1313 tagline : 'A Python 3 library built on the Mapillary API v4 to facilitate retrieving and working with Mapillary data' ,
1414 url : 'https://mapillary.github.io' ,
15- baseUrl : '/mapillary-python-sdk/docs ' ,
15+ baseUrl : '/mapillary-python-sdk/' ,
1616 onBrokenLinks : 'warn' ,
1717 onBrokenMarkdownLinks : 'warn' ,
1818 favicon : 'img/favicon.ico' ,
You can’t perform that action at this time.
0 commit comments