Skip to content

Commit

Permalink
Added copy cache from gh-pages (#3)
Browse files Browse the repository at this point in the history
* Update _config.yml
  • Loading branch information
dkorzhov committed Jun 9, 2021
1 parent 3fe1359 commit 4fdf8d4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/checkout@v2

This comment has been minimized.

Copy link
@vvssttkk

vvssttkk Jun 9, 2021

Member

а зачем 2й раз повторять одно и то же, то бишь в 13й строке такое же

with:
ref: 'gh-pages'
path: ./gh-pages
- name: Copy cache dir
run: |
cp -r ./gh-pages/_build/ ./qmlcourseRU/ || exit 0
# Install dependencies
- name: Set up Python 3.8
Expand All @@ -34,4 +42,5 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./qmlcourseRU
destination_dir: public
# destination_dir: qmlcourseRU
# publish_branch: feature/devops
Empty file added .nojekyll
Empty file.
7 changes: 4 additions & 3 deletions qmlcourseRU/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@ description: >-
execute:
execute_notebooks: cache
run_in_temp: true
timeout: -1

html:
home_page_in_navbar: true

notebook_interface: "notebook"

repository:
url: https://github.com/SemyonSinchenko/qmlcourse.ai
path_to_book: "qmlcourseRU"
# repository:
# url: https://github.com/SemyonSinchenko/qmlcourse.ai

This comment has been minimized.

Copy link
@vvssttkk

vvssttkk Jun 9, 2021

Member

если что, то ссылка на курс без .ai в конце

# path_to_book: "qmlcourseRU"

latex:
latex_engine: "xelatex"
Expand Down

0 comments on commit 4fdf8d4

Please sign in to comment.