-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #449 from ucb-substrate/v2p1-main
Implements most features of Substrate 2.1
- Loading branch information
Showing
390 changed files
with
62,159 additions
and
30,553 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: CI | ||
name: ci | ||
|
||
on: | ||
pull_request: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: deploy-api-docs | ||
|
||
on: | ||
workflow_call: | ||
workflow_dispatch: | ||
inputs: | ||
name: | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
DOCS_NAME: ${{ inputs.name || github.ref.name }} | ||
PUBLIC_DOCS_DIR: /tools/C/rohankumar/substrate_docs_public | ||
|
||
jobs: | ||
deploy-api-docs: | ||
name: Deploy API documentation | ||
runs-on: bwrc | ||
environment: docs | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: superfly/flyctl-actions/setup-flyctl@ddcac349402ef55840d9870785f4df1890768078 | ||
- run: ./deploy.sh ${{ env.PUBLIC_DOCS_DIR }} ${{ inputs.name || github.ref_name }} | ||
working-directory: docs/api | ||
env: | ||
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN_API }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: deploy-docs | ||
|
||
on: | ||
workflow_call: | ||
workflow_dispatch: | ||
inputs: | ||
name: | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
DOCS_NAME: ${{ inputs.name || github.ref.name }} | ||
PUBLIC_DOCS_DIR: /tools/C/rohankumar/substrate_docs_public | ||
|
||
jobs: | ||
deploy-docs: | ||
name: Deploy documentation | ||
runs-on: bwrc | ||
environment: docs | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: superfly/flyctl-actions/setup-flyctl@master | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: 'yarn' | ||
cache-dependency-path: docs/docusaurus/yarn.lock | ||
- run: ./deploy.sh ${{ env.PUBLIC_DOCS_DIR }} ${{ inputs.name || github.ref_name }} | ||
working-directory: docs/docusaurus | ||
env: | ||
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN_DOCS }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: deploy-release-api-docs | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
deploy-api-docs: | ||
uses: ./.github/workflows/deploy-api-docs.yml | ||
with: | ||
name: release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.