Skip to content

Commit 0ce2220

Browse files
committed
maint: add workflow to trigger skin site update
Signed-off-by: Yury V. Zaytsev <[email protected]>
1 parent 2c42928 commit 0ce2220

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/update-skins.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: update-skins
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
workflow_dispatch:
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
12+
jobs:
13+
update-skins:
14+
runs-on: ubuntu-latest
15+
timeout-minutes: 5
16+
17+
steps:
18+
- uses: actions/github-script@v7
19+
with:
20+
github-token: ${{ secrets.REPOSITORY_DISPATCH_GITHUB_TOKEN }}
21+
script: |
22+
await github.rest.repos.createDispatchEvent({
23+
owner: context.repo.owner,
24+
repo: "skins",
25+
event_type: "deploy-skins"
26+
});

0 commit comments

Comments
 (0)