mirror of
https://github.com/Mibew/simple-icons.git
synced 2025-04-14 08:39:33 +03:00
Add "Publish" job for automated website updates (#4787)
This commit is contained in:
parent
598863834f
commit
46ff9685ef
13
.github/workflows/publish.yml
vendored
13
.github/workflows/publish.yml
vendored
@ -78,6 +78,17 @@ jobs:
|
|||||||
- name: Trigger simple-icons-font release
|
- name: Trigger simple-icons-font release
|
||||||
run: |
|
run: |
|
||||||
curl -X POST \
|
curl -X POST \
|
||||||
-H "Authorization: Bearer ${{ secrets.SIMPLE_ICONS_FONT_TOKEN }}" \
|
-H "Authorization: Bearer ${{ secrets.REMOTE_DISPATCH_TOKEN }}" \
|
||||||
-d '{"ref":"develop"}' \
|
-d '{"ref":"develop"}' \
|
||||||
https://api.github.com/repos/simple-icons/simple-icons-font/actions/workflows/auto-release.yml/dispatches
|
https://api.github.com/repos/simple-icons/simple-icons-font/actions/workflows/auto-release.yml/dispatches
|
||||||
|
website:
|
||||||
|
name: Trigger simple-icons-website update
|
||||||
|
needs: npm
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Trigger simple-icons-website update
|
||||||
|
run: |
|
||||||
|
curl -X POST \
|
||||||
|
-H "Authorization: Bearer ${{ secrets.REMOTE_DISPATCH_TOKEN }}" \
|
||||||
|
-d '{"ref":"master"}' \
|
||||||
|
https://api.github.com/repos/simple-icons/simple-icons-website/actions/workflows/auto-release.yml/dispatches
|
||||||
|
Loading…
Reference in New Issue
Block a user