-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Scheduled | ||
|
||
on: | ||
schedule: | ||
# 4:31分に実行 4(JST)-9+24=19(UTC) | ||
- cron: '31 19 * * *' | ||
|
||
jobs: | ||
build: | ||
name: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: denoland/setup-deno@v1 | ||
with: | ||
deno-version: v1.x | ||
- name: make | ||
run: | | ||
deno run -A download.js | ||
deno run -A make.js | ||
- name: commit and push | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "workflow user" | ||
git add . | ||
git commit -m 'update data' && git push ${REPO} HEAD:${{github.event.pull_request.head.ref}} || true | ||
git push |