diff --git a/.github/workflows/docs-build.yml b/.github/workflows/docs-build.yml new file mode 100644 index 000000000..6add0807a --- /dev/null +++ b/.github/workflows/docs-build.yml @@ -0,0 +1,18 @@ +name: docs-build + +on: + push: + pull_request: + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: 3.x + - run: pip install -r requirements.txt + - run: mkdocs build --strict + diff --git a/.github/workflows/ci.yml b/.github/workflows/docs-deploy.yml similarity index 94% rename from .github/workflows/ci.yml rename to .github/workflows/docs-deploy.yml index 7a7362e97..53b0fd473 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/docs-deploy.yml @@ -1,8 +1,10 @@ -name: ci +name: docs-deploy + on: push: branches: - main + jobs: deploy: if: github.repository == 'flare-foundation/docs'