Skip to content

Commit

Permalink
Deploy docs for tags
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Jan 26, 2024
1 parent c9f82ad commit 1009c15
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
push:
branches:
- main
tags:
- v1.*
jobs:
deploy-user-guide:
if: github.repository == 'aws/aws-lc-rs'
Expand All @@ -28,14 +30,12 @@ jobs:
curl -L https://github.com/rust-lang/mdBook/releases/download/v0.4.34/mdbook-v0.4.34-x86_64-unknown-linux-gnu.tar.gz | tar xz
./mdbook build book
./mdbook test book
- name: Deploy User Guide
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: book/book
- name: Build Documentation
run: cargo +nightly doc --features fips,unstable --no-deps --workspace
- name: Copy docs
run: |
cp --recursive target/doc -t book/book/rustdocs/${{ github.ref_name }}
- name: Deploy Docs
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: target/doc
target-folder: rustdocs/${{ github.ref_name }}
folder: book/book

0 comments on commit 1009c15

Please sign in to comment.