From 1e5ca0cd22836e7befaf498060ff28056bf21271 Mon Sep 17 00:00:00 2001 From: Aljaz S <117018081+aljazs-flare@users.noreply.github.com> Date: Thu, 15 Feb 2024 18:02:41 +0100 Subject: [PATCH] rename workflow files --- .github/workflows/docs-build.yml | 31 +++++++++++++++++++ .github/workflows/{ci.yml => docs-deploy.yml} | 4 ++- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/docs-build.yml rename .github/workflows/{ci.yml => docs-deploy.yml} (94%) diff --git a/.github/workflows/docs-build.yml b/.github/workflows/docs-build.yml new file mode 100644 index 000000000..facb0c568 --- /dev/null +++ b/.github/workflows/docs-build.yml @@ -0,0 +1,31 @@ +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 + check-dead-links: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: 3.x + - uses: gaurav-nelson/github-action-markdown-link-check@0f074c8562c5a8fed38282b7c741d1970bb1512d + with: + use-quiet-mode: 'yes' + use-verbose-mode: 'yes' + config-file: '.github/workflows/markdown.links.config.json' + folder-path: 'docs' + 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'