Skip to content

Commit

Permalink
Merge pull request #5 from zkSync-Community-Hub/feat/content-migration
Browse files Browse the repository at this point in the history
Feat/content migration
  • Loading branch information
itsacoyote authored May 16, 2024
2 parents c78a425 + 66f5380 commit dd4c8b7
Show file tree
Hide file tree
Showing 91 changed files with 9,520 additions and 485 deletions.
41 changes: 31 additions & 10 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ jobs:
- name: Runs Prettier Formatter
run: bun run lint:prettier

# spelling:
# name: spelling
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: oven-sh/setup-bun@v1
# - name: Install Dependencies
# run: bun install
# - name: Runs cSpell Spell Checker
# run: bun run lint:spelling
spelling:
name: spelling
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- name: Install Dependencies
run: bun install
- name: Runs cSpell Spell Checker
run: bun run lint:spelling

markdown-lint:
name: markdown_lint
Expand All @@ -49,3 +49,24 @@ jobs:
run: bun install
- name: Runs ESLint
run: bun run lint:eslint

link-check:
env:
NUXT_UI_PRO_LICENSE: ${{ secrets.NUXT_UI_PRO_LICENSE }}
NUXT_PUBLIC_SITE_URL: ${{ secrets.NUXT_PUBLIC_SITE_URL }}
name: link_check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4 # v4

- uses: oven-sh/setup-bun@v1

- name: "Install dependencies"
run: bun install

- name: "Build site"
run: bun run build

- uses: untitaker/[email protected]
with:
args: .output/public/ --sources content/
6 changes: 1 addition & 5 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,7 @@ jobs:
run: bun install

- name: "Deploy target: preview"
run: bun run generate

- uses: untitaker/[email protected]
with:
args: .output/public/ --sources content/
run: bun run build

- name: "Deploy preview"
uses: matter-labs/action-hosting-deploy@main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: "Install dependencies"
run: bun install
- name: "Deploy target: production 🚀"
run: bun run generate
run: bun run build
# TODO: ask about below
# env:
# RUDDERSTACK_WRITE_KEY: "${{ secrets.RUDDERSTACK_WRITE_KEY }}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: "Install dependencies"
run: bun install
- name: "Deploy target: staging"
run: bun run generate
run: bun run build

- uses: matter-labs/action-hosting-deploy@main
with:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Community Code

Welcome to the ZKsync Community Code repository. This project serves as the community hub for ZKsync, providing comprehensive
Welcome to the zkSync Community Code repository. This project serves as the community hub for zkSync, providing comprehensive
documentation for developers written by developers.
Whether you're a beginner looking to get started with ZKsync or an experienced developer
Whether you're a beginner looking to get started with zkSync or an experienced developer
seeking advanced guides, you'll find the resources you need here.

## Tools used
Expand Down
11 changes: 11 additions & 0 deletions content/_partials/_callout-zksync-cli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: Callout zkSync CLI
---

::callout{icon="i-heroicons-light-bulb"}
Skip the hassle for test ETH by using `zksync-cli` for local testing.
Simply execute `npx zksync-cli dev start` to initialize a local zkSync development environment,
which includes local Ethereum and zkSync nodes.
This method allows you to test contracts without requesting external testnet funds.
Explore more in the [zksync-cli documentation](https://docs.zksync.io/build/tooling/zksync-cli).
::
32 changes: 0 additions & 32 deletions content/tutorials/another-guide/10.index.md

This file was deleted.

32 changes: 0 additions & 32 deletions content/tutorials/another-guide/20.lets-do-something.md

This file was deleted.

32 changes: 0 additions & 32 deletions content/tutorials/another-guide/30.last-step.md

This file was deleted.

31 changes: 0 additions & 31 deletions content/tutorials/another-guide/_info.yml

This file was deleted.

32 changes: 0 additions & 32 deletions content/tutorials/best-tutorial/10.index.md

This file was deleted.

32 changes: 0 additions & 32 deletions content/tutorials/best-tutorial/20.next.md

This file was deleted.

27 changes: 0 additions & 27 deletions content/tutorials/best-tutorial/_info.yml

This file was deleted.

32 changes: 0 additions & 32 deletions content/tutorials/cool-guide/10.index.md

This file was deleted.

32 changes: 0 additions & 32 deletions content/tutorials/cool-guide/20.next.md

This file was deleted.

Loading

0 comments on commit dd4c8b7

Please sign in to comment.