mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-12-25 20:18:01 +02:00
48156a785f
[why]
Because we want to use Node 20 etc pp
[how]
Check for breaking changes and update.
Also replace checkout-files by checkout with sparse-checkout; as they
semselves encourage people to do.
action-gh-release has been updated to Node 20 but has not been released
with the change, so we access the latest version directly by hash.
[note]
Of course this is unchecked... what can ge wrong! 😬
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
39 lines
1022 B
YAML
39 lines
1022 B
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@v4
|
|
- name: Fetch old from gh-pages
|
|
uses: actions/checkout@v4
|
|
with:
|
|
sparse-checkout: _posts
|
|
ref: 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
|