Skip to content

Commit

Permalink
自动化部署
Browse files Browse the repository at this point in the history
  • Loading branch information
jason5ng32 committed Feb 25, 2024
1 parent e12a1d8 commit 58deb7d
Show file tree
Hide file tree
Showing 33 changed files with 8 additions and 89,885 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/autogen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@ name: Generate ics files

on:
schedule:
- cron: '*/50 * * * *'
- cron: '*/7 * * * *'

jobs:
run-scripts:
runs-on: ubuntu-latest
environment: OhEarningCal
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Reset local changes
run: |
git fetch origin main
git reset --hard origin/main
- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '20.10.0'
node-version: '20'

- name: Install dependencies
run: npm install
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/autoget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@ name: Get Earnings Calendar Data

on:
schedule:
- cron: '*/30 * * * *'
- cron: '*/5 * * * *'

jobs:
run-scripts:
runs-on: ubuntu-latest
environment: OhEarningCal
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Reset local changes
run: |
git fetch origin main
git reset --hard origin/main
- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '20.10.0'
node-version: '20'

- name: Install dependencies
run: npm install
Expand Down
Loading

0 comments on commit 58deb7d

Please sign in to comment.