Skip to content

Metrics

Metrics #1613

Workflow file for this run

# Visit https://github.com/lowlighter/metrics/blob/master/action.yml for full reference
name: Metrics
on:
# At the end of every day
schedule: [{cron: "0 0 * * *"}]
# Lines below let you run workflow manually and on each commit
workflow_dispatch:
# push: {branches: ["master", "main"]}
jobs:
generate:
name: Generate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
repository: metrowind/github-profile
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: build
args: --release
- run: target/release/github-profile ${{ secrets.METRICS_TOKEN }}