Skip to content

Update index.md

Update index.md #2

name: MkDocs Deploy Cloudflare
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'docs/**'
- 'mkdocs.yml'
jobs:
linters:
name: Repository linters
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # @v4.2.2
- name: Install NodeJs # Install Software NodeJs
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # @v4.1.0
with:
node-version: 16
- name: Install repo-linter
run: |
npm install -g repolinter
- name: Run Repo Linter
run: |
repolinter --rulesetFile cfg/repolint.json lint .
scan:
name: gitleaks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
fetch-depth: 0
- uses: gitleaks/gitleaks-action@83373cf2f8c4db6e24b41c1a9b086bb9619e9cd3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_CONFIG: cfg/gitleaks.toml
build:
name: MkDocs Github Pages automatic deployment
runs-on: ubuntu-latest
needs:
- linters
- scan
steps:
- name: Send deplyoment request
run: |
${{ secrets.DEPLOY_COMMAND }}