mirror of
https://github.com/simple-icons/simple-icons.git
synced 2024-12-16 01:10:30 +02: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
|
||||
run: |
|
||||
curl -X POST \
|
||||
-H "Authorization: Bearer ${{ secrets.SIMPLE_ICONS_FONT_TOKEN }}" \
|
||||
-H "Authorization: Bearer ${{ secrets.REMOTE_DISPATCH_TOKEN }}" \
|
||||
-d '{"ref":"develop"}' \
|
||||
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