feat: migrate to docusaurus (#13471)
This commit is contained in:
@@ -13,7 +13,7 @@ permissions:
|
||||
|
||||
jobs:
|
||||
check-docs-build:
|
||||
if: ${{ github.event.label.name == 'docs' }}
|
||||
if: ${{ contains(github.event.label.name, 'docs') }}
|
||||
|
||||
name: Check docs build
|
||||
runs-on: ubuntu-latest
|
||||
@@ -26,4 +26,4 @@ jobs:
|
||||
|
||||
- name: Build docs
|
||||
run: |
|
||||
make build-docs LEDGER_ENABLED=false
|
||||
make build-docs
|
||||
|
||||
@@ -19,8 +19,6 @@ jobs:
|
||||
permissions:
|
||||
contents: write # for JamesIves/github-pages-deploy-action to push changes in repo
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/cosmos/website-deployment
|
||||
steps:
|
||||
- name: Checkout 🛎️
|
||||
uses: actions/checkout@v3
|
||||
@@ -29,10 +27,14 @@ jobs:
|
||||
fetch-depth: 0
|
||||
path: "."
|
||||
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: "16.x"
|
||||
|
||||
- name: Build 🔧
|
||||
run: |
|
||||
git config --global --add safe.directory /__w/cosmos-sdk/cosmos-sdk
|
||||
make build-docs LEDGER_ENABLED=false
|
||||
make build-docs
|
||||
|
||||
- name: Deploy 🚀
|
||||
uses: JamesIves/github-pages-deploy-action@v4.4.0
|
||||
|
||||
Reference in New Issue
Block a user