Skip to content

Commit

Permalink
Create metrics-minimal.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
e-kotov authored Jul 7, 2024
1 parent 57d2e06 commit 6fe9294
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/metrics-minimal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Metrics Minimal
on:
# Schedule daily updates
schedule: [{cron: "0 0 * * *"}]
# (optional) Run workflow manually
workflow_dispatch:
# (optional) Run workflow when pushing on master/main
push: {branches: ["master", "main"]}
jobs:
github-metrics:
runs-on: ubuntu-latest
environment:
name: production
permissions:
contents: write
steps:
- uses: e-kotov/metrics@master
with:
token: ${{ secrets.METRICS_TOKEN }}
filename: github-metrics-minimal.svg
output_action: commit
committer_message: "chore: update metrics"
retries: 3
retries_delay: 900
optimize: css, xml

# Options
user: e-kotov
template: classic
base: header, activity, meta
config_timezone: Europe/Berlin

0 comments on commit 6fe9294

Please sign in to comment.