From a616a86cd0e25b56420c4eb08a314ccbd7142451 Mon Sep 17 00:00:00 2001 From: Matthew Sevey <15232757+MSevey@users.noreply.github.com> Date: Fri, 27 Sep 2024 13:26:05 -0400 Subject: [PATCH] test(ci): add deploy status badge to readme and add build ci --- .github/workflows/build.yml | 22 ++++++++++++++++++++++ README.md | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 .github/workflows/build.yml 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/).