File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ .bookignore
2+ .github
3+ .gitignore
4+ crowdin.yaml
5+ package-lock.json
6+ package.json
Original file line number Diff line number Diff line change 1+ name : Build and Deploy
2+ on :
3+ push :
4+ branches :
5+ - master
6+
7+ jobs :
8+ build-and-deploy :
9+ runs-on : ubuntu-latest
10+ if : github.repository == 'djangogirls/tutorial'
11+ steps :
12+ - name : Checkout
13+ uses : actions/checkout@v2
14+ with :
15+ persist-credentials : false
16+
17+ - name : Install and Build
18+ run : |
19+ npm install
20+ npx honkit build
21+
22+ - name : Deploy
23+ uses : JamesIves/github-pages-deploy-action@releases/v3
24+ with :
25+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26+ BRANCH : gh-pages
27+ FOLDER : _book
Original file line number Diff line number Diff line change 1+ name : Build
2+ on :
3+ - pull_request
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - name : Checkout
10+ uses : actions/checkout@v2
11+ with :
12+ persist-credentials : false
13+
14+ - name : Install and Build
15+ run : |
16+ npm install
17+ npx honkit build
Original file line number Diff line number Diff line change 22.DS_Store
33_book
44node_modules
5+ package-lock.json
56.idea
67.swp
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " tutorial" ,
3+ "version" : " 1.0.0" ,
4+ "description" : " The Django Girls tutorial" ,
5+ "main" : " index.js" ,
6+ "dependencies" : {},
7+ "devDependencies" : {
8+ "gitbook-plugin-codeblock-label" : " *" ,
9+ "gitbook-plugin-collapsible-menu" : " *" ,
10+ "gitbook-plugin-ga" : " ^2.0.0" ,
11+ "gitbook-plugin-github" : " 2.0.0" ,
12+ "gitbook-plugin-heading-anchors" : " ^1.0.3" ,
13+ "gitbook-plugin-language-picker" : " *" ,
14+ "gitbook-plugin-richquotes" : " 0.0.9" ,
15+ "gitbook-plugin-sectionx-ex" : " *" ,
16+ "gitbook-plugin-sidebar-ad" : " *" ,
17+ "honkit" : " ^3.4.0"
18+ },
19+ "scripts" : {},
20+ "keywords" : [],
21+ "author" : " Django Girls" ,
22+ "license" : " CC-BY-SA-4.0"
23+ }
You can’t perform that action at this time.
0 commit comments