Skip to content

add prometheus module #566

add prometheus module

add prometheus module #566

Workflow file for this run

name: Deploy content to Pages
on:
push:
branches:
- main
- staging
pull_request:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-22.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
- name: Build
id: build
run: |
nix build ./dev#docs --override-input srvos "path:$PWD"
echo "result=$(readlink ./result)" >> $GITHUB_OUTPUT
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
# If you're changing the branch from main,
# also change the `main` in `refs/heads/main`
# below accordingly.
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: "${{ steps.build.outputs.result }}/"