Skip to content

Commit

Permalink
ci: fix docs deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianFranzen committed Jun 29, 2024
1 parent a1b5771 commit fb71a0e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/deploy-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,19 @@ concurrency:
jobs:
deploy-docs:
runs-on: ubuntu-latest
env:
DOCS_HIDEOUT: an8ohgahmoot6ro8ieReib9micau0Oow
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Initialize Rust
uses: ./.github/actions/rust-init
- name: Build docs
run: cargo doc --no-deps --document-private-items --workspace --target-dir target/docs/$DOCS_HIDEOUT/
- name: Copy configurations
run: cp docs/robots.txt target/docs/$DOCS_HIDEOUT/
run: cargo doc --no-deps --document-private-items --workspace
- name: Assemble structure
env:
DOCS_HIDEOUT: an8ohgahmoot6ro8ieReib9micau0Oow
run: |
cp -r target/doc target/docs/$DOCS_HIDEOUT
cp docs/robots.txt target/docs/$DOCS_HIDEOUT
- name: Deploy docs
uses: actions/upload-pages-artifact@v4
with:
Expand Down
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ edition = "2021"
version = "0.6.0"
homepage = "https://analog.one/"
license = "GPL-3.0-only"
license-file = "LICENSE"
readme = "README.md"
repository = "https://github.com/Analog-Labs/timechain"

Expand Down
1 change: 0 additions & 1 deletion node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ authors.workspace = true
edition.workspace = true
homepage.workspace = true
license.workspace = true
license-file.workspace = true
repository.workspace = true
readme.workspace = true

Expand Down

0 comments on commit fb71a0e

Please sign in to comment.