8000 Add GitHub Actions workflow to build and deploy ebook. · eknathk/complete-python-course@a3c6e60 · GitHub
[go: up one dir, main page]

Skip to content

Commit a3c6e60

Browse files
committed
Add GitHub Actions workflow to build and deploy ebook.
1 parent 35ce581 commit a3c6e60

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ebook.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: ebook
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: actions/setup-python@v2
13+
with:
14+
python-version: 3.x
15+
- run: pip install -r requirements-docs.txt
16+
- run: cog -r mkdocs.yml
17+
- run: mkdocs gh-deploy --force

0 commit comments

Comments
 (0)
0