Skip to content

Generate metrics

Generate metrics #13

Workflow file for this run

name: Generate metrics
on:
push:
branches: ["main"]
workflow_dispatch:
inputs:
org:
description: 'Organization'
type: string
required: false
default: "polkadot-fellows"
repo:
description: 'Repository'
type: string
required: false
default: "runtimes"
permissions:
pages: write
id-token: write
jobs:
get_metrics:
runs-on: ubuntu-latest
name: Get repository metrics
steps:
- uses: paritytech-stg/metrics@main
name: Fetch metrics
id: metric
with:
GITHUB_TOKEN: ${{ github.token }}
owner: ${{ github.event.inputs.org }}
repo: ${{ github.event.inputs.repo }}
- name: Setup Pages
uses: actions/[email protected]
- name: Upload artifact
uses: actions/[email protected]
with:
path: ./
- name: Deploy to GitHub Pages
id: deployment
uses: actions/[email protected]