Skip to content

[Feat] Prometheus metric export #260

[Feat] Prometheus metric export

[Feat] Prometheus metric export #260

name: Check homepage build
on:
pull_request:
paths:
- 'examples/**'
- 'docs/**'
- 'zeus/**'
- 'mkdocs.yml'
- 'docker/Dockerfile'
- '.github/workflows/check_homepage_build.yaml'
# Jobs initiated by previous pushes get cancelled by a new push.
concurrency:
group: ${{ github.ref }}-check-homepage-build
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
if: github.event.repository.fork == false
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.9
cache: 'pip'
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- name: Install other homepage dependencies
run: pip install '.[docs]'
- name: Build homepage
run: mkdocs build --verbose --strict
env:
BUILD_SOCIAL_CARD: true