diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000000..ffdd250aa3d --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,22 @@ +name: Build VitePress Site + +on: + push: + branches: [main] + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: 18 + cache: yarn + - name: Install dependencies + run: yarn install + - name: Build with VitePress + run: yarn build diff --git a/README.md b/README.md index adcb1e1dfdf..74b673d7894 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![Deploy](https://github.com/celestiaorg/docs/actions/workflows/deploy.yml/badge.svg)](https://github.com/celestiaorg/docs/actions/workflows/deploy.yml) + # Celestia Documentation Site Welcome to the official documentation repository for [Celestia](https://celestia.org/).