mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-01-07 15:53:10 +00:00
Fix book Pages deploy trigger and disable Jekyll
This commit is contained in:
parent
96b33153c7
commit
888c6da633
6
.github/workflows/lint.yml
vendored
6
.github/workflows/lint.yml
vendored
@ -372,16 +372,18 @@ jobs:
|
|||||||
run: npx -y markdownlint-cli2 "book/src/**/*.md"
|
run: npx -y markdownlint-cli2 "book/src/**/*.md"
|
||||||
- name: Build book
|
- name: Build book
|
||||||
run: mdbook build book
|
run: mdbook build book
|
||||||
|
- name: Add .nojekyll
|
||||||
|
run: touch target/book/.nojekyll
|
||||||
- name: Check links
|
- name: Check links
|
||||||
run: mdbook-linkcheck -s book
|
run: mdbook-linkcheck -s book
|
||||||
- name: Upload book artifact for Pages
|
- name: Upload book artifact for Pages
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||||
uses: actions/upload-pages-artifact@v3
|
uses: actions/upload-pages-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: target/book
|
path: target/book
|
||||||
|
|
||||||
deploy_book:
|
deploy_book:
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||||
needs: book
|
needs: book
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user