Skip to content

Commit

Permalink
added ability to deploy test metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
Bullrich committed Feb 20, 2024
1 parent 191851b commit 23ad504
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/deploy-metrics.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Deploy page

on:
push:
branches: ["master"]

permissions:
pages: write
id-token: write

jobs:
get_metrics:
runs-on: ubuntu-latest
name: Get repository metrics
steps:
- uses: paritytech/metrics@generate-website
name: Fetch polkadot-fellows/runtimes metrics
id: metric
with:
GITHUB_TOKEN: ${{ github.token }}
owner: polkadot-fellows
repo: runtimes
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1

0 comments on commit 23ad504

Please sign in to comment.