1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2024-12-25 20:18:01 +02:00
nerd-fonts/.github/workflows/contributors.yml
Fini Jastrow b94dd2ca2d CI: Fix contributor update
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-27 15:44:14 +01:00

39 lines
1.0 KiB
YAML

name: Update contributors
on:
push:
branches: [ master ]
paths:
- CONTRIBUTORS.md
- bin/scripts/update-all-contributors-website.py
workflow_dispatch:
jobs:
create-casks:
name: Update gh-pages contributors
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Fetch old from gh-pages
uses: Bhacaz/checkout-files@v2
with:
files: _posts/2017-01-05-all-contributors.md
branch: gh-pages
- name: Update the page
run: |
cd bin/scripts
chmod u+x *
ls -l ../../_posts
./update-all-contributors-website.py
ls -l ../../_posts
- name: Deploy page to gh-pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: _posts
target-folder: _posts
commit-message: "[ci] Regenerate contributors"
git-config-name: GitHub Actions
git-config-email: 41898282+github-actions[bot]@users.noreply.github.com
clean: false