Skip to content

Commit e1881ee

Browse files
committed
modify the conditions under which the workflow runs to match the existing ones
1 parent 47fdc27 commit e1881ee

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ name: Build and deploy vim help
88
# …という計画
99

1010
on:
11-
push
11+
push:
12+
13+
schedule:
14+
- cron: '5 12 * * *'
1215

1316
jobs:
1417
build:

.github/workflows/trigger.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,7 @@ jobs:
1717
-H 'Authorization: token ${{ secrets.GITHUB_TOKEN }}' \
1818
-H "Accept: application/vnd.github.v3+json" \
1919
'https://api.github.com/repos/vim-jp/vimdoc-en/actions/workflows/trigger.yml/enable'
20+
curl -i -X PUT \
21+
-H 'Authorization: token ${{ secrets.GITHUB_TOKEN }}' \
22+
-H "Accept: application/vnd.github.v3+json" \
23+
'https://api.github.com/repos/vim-jp/vimdoc-en/actions/workflows/build-and-deploy.yml/enable'

0 commit comments

Comments
 (0)