Skip to content

Commit

Permalink
update active token
Browse files Browse the repository at this point in the history
  • Loading branch information
xand6r committed Dec 11, 2024
1 parent 9c5bcf6 commit 2304881
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.CARGO_TOKEN }}
publish_dir: ./docs # Replace with your build output directory
2 changes: 1 addition & 1 deletion docs/generatedocs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ for current_dir in ${projects_dirs[@]}; do
# Run the command to generate the docs
cargo doc --manifest-path "$manifest_path" --target-dir "$target_dir"

path_to_docs=("./packages/$package_name/doc/$underscore_package_name/index.html")
path_to_docs=("packages/$package_name/doc/$underscore_package_name/index.html")

# Replace name and description placeholders in the template
processed_html=$(echo "$item_html_template" | sed -e "s|name_placeholder|$package_name_and_version|g" -e "s|description_placeholder|$package_description|g" -e "s|package_path_placeholder|$path_to_docs|g")
Expand Down

0 comments on commit 2304881

Please sign in to comment.