Skip to content

Commit

Permalink
Use two runs to fix GitHub Action syntax #42
Browse files Browse the repository at this point in the history
  • Loading branch information
pintergreg committed Feb 2, 2022
1 parent f877641 commit d0a7b3b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/mdbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ jobs:
#mdbook-version: '0.3.5'
mdbook-version: 'latest'

- run:
- mdbook build
- for i in src/lectures/*.md; do cp $i book/lecture/"${i##*/}"; done
- run: mdbook build
- run: for i in src/lectures/*.md; do cp $i book/lecture/"${i##*/}"; done

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
Expand Down

0 comments on commit d0a7b3b

Please sign in to comment.