Skip to content

Commit

Permalink
use requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
coolya committed Aug 24, 2020
1 parent e9c9a14 commit 6014de4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/buildOnly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs
pip install mkdocs-material
pip install -r requirements.txt
- name: build mkdocs
run: |
ln -sf ${GITHUB_WORKSPACE}/README.md ${GITHUB_WORKSPACE}/docs/index.md
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/publishAndBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs
pip install mkdocs-material
pip install -r requirements.txt
- name: build mkdocs and deploy to gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ BASEDIR=$(CURDIR)
DOCDIR=$(BASEDIR)/docs

install:
pip install mkdocs
pip install mkdocs-material
pip install -r requirements.txt

link:
ln -sf $(BASEDIR)/README.md $(DOCDIR)/index.md
Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
mkdocs
mkdocs-material

0 comments on commit 6014de4

Please sign in to comment.