Skip to content

Commit

Permalink
remove sdk nestjs redirects + add build workflow (#823)
Browse files Browse the repository at this point in the history
* remove sdk nestjs redirects + add build workflow

* fix workflow conditions

* use current branch in workflow
  • Loading branch information
bogdan-rosianu authored Feb 8, 2024
1 parent d0be7e8 commit b29eb7b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: test-build

on:
pull_request:
branches: [main, development]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: "16.x"
- name: Install packages
run: npm install
- name: Build website
run: npm run build
8 changes: 0 additions & 8 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,14 +215,6 @@ const config = {
from: "/sdk-and-tools/dapp-core",
to: "/sdk-and-tools/sdk-dapp",
},
{
from: "/sdk-and-tools/sdk-nestjs",
to: "/sdk-and-tools/sdk-nestjs/sdk-nestjs"
},
{
from: "/sdk-and-tools/erdnest",
to: "/sdk-and-tools/sdk-nestjs/sdk-nestjs"
},
{
from: "/validators/staking-providers-apr",
to: "/economics/staking-providers-apr",
Expand Down

0 comments on commit b29eb7b

Please sign in to comment.