Skip to content

Commit

Permalink
chore: update urls to forked repo
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaMasych committed Oct 18, 2024
1 parent 8c0eb30 commit 77742ee
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 59 deletions.
104 changes: 52 additions & 52 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,52 +1,52 @@
name: Deploy Rust Docs to GitHub Pages

on:
push:
branches:
- main

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true

- name: Build Rust Documentation
run: |
cargo doc --no-deps --document-private-items
echo "<meta http-equiv=\"refresh\" content=\"0; url=bpcon\">" > target/doc/index.html
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./target/doc

deploy:
runs-on: ubuntu-latest
needs: build

permissions:
pages: write
id-token: write

environment:
name: docs
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
#name: Deploy Rust Docs to GitHub Pages
#
#on:
# push:
# branches:
# - main
#
#concurrency:
# group: "pages"
# cancel-in-progress: false
#
#jobs:
# build:
# runs-on: ubuntu-latest
#
# steps:
# - name: Checkout sources
# uses: actions/checkout@v4
#
# - name: Install stable toolchain
# uses: actions-rs/toolchain@v1
# with:
# profile: minimal
# toolchain: stable
# override: true
#
# - name: Build Rust Documentation
# run: |
# cargo doc --no-deps --document-private-items
# echo "<meta http-equiv=\"refresh\" content=\"0; url=bpcon\">" > target/doc/index.html
#
# - name: Upload artifact
# uses: actions/upload-pages-artifact@v3
# with:
# path: ./target/doc
#
# deploy:
# runs-on: ubuntu-latest
# needs: build
#
# permissions:
# pages: write
# id-token: write
#
# environment:
# name: docs
# url: ${{ steps.deployment.outputs.page_url }}
#
# steps:
# - name: Deploy to GitHub Pages
# id: deployment
# uses: actions/deploy-pages@v4
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

5 changes: 2 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ version = "0.1.0"
edition = "2021"
description = "BPCon: A Byzantine Fault-Tolerant Consensus Protocol Implementation in Rust."
license = "MIT"
repository = "https://github.com/distributed-lab/bpcon"
homepage = "https://github.com/distributed-lab/bpcon#readme"
documentation = "https://distributed-lab.github.io/bpcon/"
repository = "https://github.com/NikitaMasych/bpcon"
homepage = "https://github.com/NikitaMasych/bpcon#readme"
keywords = ["consensus", "byzantine", "protocol", "distributed-systems", "blockchain"]
categories = ["algorithms"]
authors = ["Distributed Lab"]
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/distributed-lab/bpcon"
"url": "https://github.com/NikitaMasych/bpcon"
},
"keywords": [
"Rust",
Expand All @@ -16,9 +16,9 @@
],
"author": "DistributedLab",
"bugs": {
"url": "https://github.com/distributed-lab/bpcon/issues"
"url": "https://github.com/NikitaMasych/bpcon/issues"
},
"homepage": "https://github.com/distributed-lab/bpcon#readme",
"homepage": "https://github.com/NikitaMasych/bpcon#readme",
"devDependencies": {
"prettier": "^3.3.3",
"semantic-release": "24.1.2",
Expand Down

0 comments on commit 77742ee

Please sign in to comment.