Skip to content

Commit d92185c

Browse files
committed
plan daily update
1 parent cf91510 commit d92185c

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/update.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Update PyTorch
2+
3+
on:
4+
schedule:
5+
- cron: "50 4 * * *"
6+
7+
# Allows you to run this workflow manually from the Actions tab
8+
workflow_dispatch:
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
with:
16+
ref: 'gh-pages'
17+
18+
- name: Update Reports
19+
run: ./update-pytorch.sh
20+
21+
- name: Commit Push
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
run: |
25+
git config --local user.email "[email protected]"
26+
git config --local user.name "Update CI"
27+
git add -A
28+
git commit -m "nightly update"
29+
git push

0 commit comments

Comments
 (0)