diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..de51542 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,20 @@ +name: Metrics +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: lowlighter/metrics@latest + with: + token: ${{ secrets.METRICS_TOKEN }} + user: AleafDAO