File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 1- name : Trigger new build
1+ name : Enable each workflow
22on :
33 schedule :
44 - cron : ' 15 11 3 * *'
77 deploy :
88 runs-on : ubuntu-latest
99 steps :
10- - name : checkout master
11- uses : actions/checkout@v2
12- - name : Create an empty commit and push it
10+ - name : Enable each workflow
1311 run : |
14- git config --local user.name 'github-actions'
15- git config --local user.email '41898282+github-actions[bot]@users.noreply.github.com'
16- git commit --allow-empty -m 'Trigger a new build'
17- git push origin master
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'
You can’t perform that action at this time.
0 commit comments