Skip to content

Commit 5ca7232

Browse files
authored
Merge pull request #24 from vim-jp/trigger-new-build
Avoid GHA workflow being automatically stopped
2 parents 1a6e830 + 8dd1786 commit 5ca7232

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/trigger.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Enable each workflow
2+
on:
3+
schedule:
4+
- cron: '15 11 3 * *'
5+
6+
jobs:
7+
deploy:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Enable each workflow
11+
run: |
12+
curl -i -X PUT \
13+
-H 'Authorization: token ${{ secrets.GITHUB_TOKEN }}' \
14+
-H "Accept: application/vnd.github.v3+json" \
15+
'https://api.github.com/repos/vim-jp/vimdoc-en/actions/workflows/generate.yml/enable'
16+
curl -i -X PUT \
17+
-H 'Authorization: token ${{ secrets.GITHUB_TOKEN }}' \
18+
-H "Accept: application/vnd.github.v3+json" \
19+
'https://api.github.com/repos/vim-jp/vimdoc-en/actions/workflows/trigger.yml/enable'

0 commit comments

Comments
 (0)