diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2023-01-16 21:23:02 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2023-01-16 21:27:26 +0100 |
| commit | ac369b7767239c57e2821c563dbdf305210d23a8 (patch) | |
| tree | eb458f4510b5ecc170030f46308df5d29ee80f97 /.github/workflows/stats.yml | |
| parent | 19e01f5a500f1bf135daa98519b1e0e5ad22b9c5 (diff) | |
ci: Use new reusable workflows
Diffstat (limited to '.github/workflows/stats.yml')
| -rw-r--r-- | .github/workflows/stats.yml | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/.github/workflows/stats.yml b/.github/workflows/stats.yml index 96f261b..6f65ecc 100644 --- a/.github/workflows/stats.yml +++ b/.github/workflows/stats.yml @@ -1,18 +1,11 @@ -name: stats +name: Statistics on: push: - branches: master + branches: main jobs: - manual: - name: "Generate and distribute statistics" - runs-on: ubuntu-latest - steps: - - name: Install gitstats - uses: magit/actions/install-gitstats@main - - name: Generate statistics - uses: magit/actions/stats-generate@main - - name: Publish statistics - uses: magit/actions/stats-publish@main - with: - key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - secret: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + stats: + name: Statistics + uses: emacscollective/workflows/.github/workflows/stats.yml@main + secrets: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} |
