Skip to content

Commit

Permalink
ci: Add cron schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
unlight committed Feb 16, 2024
1 parent aa7d5a1 commit b0856c7
Show file tree
Hide file tree
Showing 4 changed files with 8,496 additions and 4,866 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/harvest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: 'Harvest'
on:
workflow_dispatch:
schedule:
- cron: '0 0 1 * *'
jobs:
harvest:
runs-on: ubuntu-latest
steps:
- name: 'Checkout repository'
uses: actions/checkout@v3
- name: 'Setup Node'
uses: actions/setup-node@v3
with:
node-version: 20
- name: 'Install depependencies'
run: npm install
- name: 'Generate'
run: |
npm run generate
- name: Commit & Push changes
uses: actions-js/push@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit b0856c7

Please sign in to comment.