Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ jobs:
pip3 install poetry
poetry run poetry install --no-root
poetry run mkdocs build
cp package.json site/package.json
- name: Setup Vercel environment
uses: actions/checkout@v4
with:
repository: darwinia-network/devops
path: .github
- name: Deploy to Vercel
id: vercel
uses: ./.github/actions/smart-vercel
with:
vercel_token: ${{ secrets.VERCEL_TOKEN }}
Expand All @@ -40,6 +42,15 @@ jobs:
vercel_json_path: docs/vercel.json
enable_cache: true
enable_notify_comment: true
enable_notify_slack: true
slack_channel: darwinia-docs
slack_webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }}

- name: Notify Slack
uses: rtCamp/action-slack-notify@v2
continue-on-error: true
env:
SLACK_CHANNEL: darwinia-docs
SLACK_COLOR: ${{ job.status }}
SLACK_ICON: https://avatars.githubusercontent.com/u/14985020?s=48&v=4
SLACK_MESSAGE: ${{ steps.vercel.outputs.PREVIEW_LINK }}
SLACK_TITLE: Preview
SLACK_USERNAME: Vercel
SLACK_WEBHOOK: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }}
17 changes: 14 additions & 3 deletions .github/workflows/deploy-prd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ jobs:
pip3 install poetry
poetry run poetry install --no-root
poetry run mkdocs build
cp package.json site/package.json
- name: Setup Vercel environment
uses: actions/checkout@v4
with:
repository: darwinia-network/devops
path: .github
- name: Deploy to Vercel
id: vercel
uses: ./.github/actions/smart-vercel
with:
vercel_token: ${{ secrets.VERCEL_TOKEN }}
Expand All @@ -40,6 +42,15 @@ jobs:
script_run: false
vercel_json_path: docs/vercel.json
enable_cache: true
enable_notify_slack: true
slack_channel: darwinia-docs
slack_webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }}

- name: Notify Slack
uses: rtCamp/action-slack-notify@v2
continue-on-error: true
env:
SLACK_CHANNEL: darwinia-docs
SLACK_COLOR: ${{ job.status }}
SLACK_ICON: https://avatars.githubusercontent.com/u/14985020?s=48&v=4
SLACK_MESSAGE: ${{ steps.vercel.outputs.PREVIEW_LINK }}
SLACK_TITLE: Preview
SLACK_USERNAME: Vercel
SLACK_WEBHOOK: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }}
17 changes: 14 additions & 3 deletions .github/workflows/deploy-stg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ jobs:
pip3 install poetry
poetry run poetry install --no-root
poetry run mkdocs build
cp package.json site/package.json
- name: Setup Vercel environment
uses: actions/checkout@v4
with:
repository: darwinia-network/devops
path: .github
- name: Deploy to Vercel
id: vercel
uses: ./.github/actions/smart-vercel
with:
vercel_token: ${{ secrets.VERCEL_TOKEN }}
Expand All @@ -39,6 +41,15 @@ jobs:
script_run: false
vercel_json_path: docs/vercel.json
enable_cache: true
enable_notify_slack: true
slack_channel: darwinia-docs
slack_webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }}

- name: Notify Slack
uses: rtCamp/action-slack-notify@v2
continue-on-error: true
env:
SLACK_CHANNEL: darwinia-docs
SLACK_COLOR: ${{ job.status }}
SLACK_ICON: https://avatars.githubusercontent.com/u/14985020?s=48&v=4
SLACK_MESSAGE: ${{ steps.vercel.outputs.PREVIEW_LINK }}
SLACK_TITLE: Preview
SLACK_USERNAME: Vercel
SLACK_WEBHOOK: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }}
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@
.vscode

# Cache
site
site

.worktrees/
2 changes: 1 addition & 1 deletion docs/learn/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ The primary requirement for a network to support the Msgport is EVM (Ethereum Vi

## How is the cross-chain message fee is calculated?

The msgport interfaces operate independently of the specific messaging protocols, each of which determines the cross-chain message fee differently. For details on ORMP's fee calculation, please refer to the [ORMP Fee](./messaging-protocols/ormp.md#cross-chain-fee).
The msgport interfaces operate independently of the specific messaging protocols, each of which determines the cross-chain message fee differently. For details on ORMP's fee calculation, please refer to the [ORMP Fee](./messaging-protocols/ormp.md#cross-chain-fee-calculation).
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"private": true,
"engines": {
"node": "26.x"
}
}
Loading
Loading