Add remote trigger for simple-icons-font to publishing workflow (#4533)

* Add "Publish" job for automated font releases

* Ensure NPM release before triggering simple-icons-font
This commit is contained in:
Eric Cornelissen 2021-01-01 19:29:47 +01:00 committed by GitHub
parent 911beefe8e
commit d56a3d95c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -69,3 +69,14 @@ jobs:
tag_name: ${{ steps.get-version.outputs.version }}
release_name: ${{ steps.release.outputs.title }}
body: ${{ steps.release.outputs.body }}
font:
name: Trigger simple-icons-font release
needs: npm
runs-on: ubuntu-latest
steps:
- name: Trigger simple-icons-font release
run: |
curl -X POST \
-H "Authorization: Bearer ${{ secrets.SIMPLE_ICONS_FONT_TOKEN }}" \
-d '{"ref":"develop"}' \
https://api.github.com/repos/simple-icons/simple-icons-font/actions/workflows/auto-release.yml/dispatches