Skip to content

Commit

Permalink
ci: fix button overlap with code
Browse files Browse the repository at this point in the history
  • Loading branch information
NOBLES5E committed Jun 17, 2021
1 parent 46045f9 commit f52d8d5
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install `mdbook`
run: curl -L "https://github.com/rust-lang/mdBook/releases/download/v0.4.10/mdbook-v0.4.10-x86_64-unknown-linux-gnu.tar.gz" \
| tar xvz
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: install
args: --git https://github.com/MatheusRich/mdBook.git --bin mdbook
- uses: actions-rs/cargo@v1
with:
command: install
Expand All @@ -30,20 +31,21 @@ jobs:
with:
command: install
args: mdbook-open-on-gh
- run: ./mdbook test
- run: ./mdbook build
- run: mdbook test
- run: mdbook build

deploy:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install `mdbook`
run: curl -L "https://github.com/rust-lang/mdBook/releases/download/v0.4.10/mdbook-v0.4.10-x86_64-unknown-linux-gnu.tar.gz" \
| tar xvz
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: install
args: --git https://github.com/MatheusRich/mdBook.git --bin mdbook
- uses: actions-rs/cargo@v1
with:
command: install
Expand All @@ -52,5 +54,5 @@ jobs:
with:
command: install
args: mdbook-open-on-gh
- run: ./mdbook build
- run: mdbook build
- run: ./ci/deploy.sh

0 comments on commit f52d8d5

Please sign in to comment.