Skip to content

Commit

Permalink
Migrate batches onto GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kissge committed May 6, 2024
1 parent 34a03fc commit b1bf52f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/monthly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,25 @@ on:
schedule:
# 3:25 UTC (12:25 JST) on 1st day of every month
- cron: '25 3 1 * *'
- cron: '25 3 2/1 * *'

jobs:
archive:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: source
- run: |
git config user.name 'github-actions[bot]'
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
export USER_AGENT='Mozilla/5.0 (compatible; elaws-history/2.0.0; +https://github.com/kissge/elaws-history)'
bash run.sh
release:
runs-on: ubuntu-latest
if: github.event.schedule == '25 3 1 * *'
needs: archive
steps:
- name: Get Info
id: get-info
Expand Down

0 comments on commit b1bf52f

Please sign in to comment.