Skip to content

Commit 2d42c66

Browse files
committed
Created generate data workflow
1 parent 63c5a2c commit 2d42c66

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Generate data
2+
on:
3+
schedule:
4+
- cron: "0 */8 * * *"
5+
workflow_dispatch:
6+
7+
jobs:
8+
generate-data:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout code
12+
uses: actions/checkout@v3
13+
- name: Initial config
14+
run: |
15+
git config user.name "GitHub Actions"
16+
git config user.email noreply@github.com
17+
- name: Install elementary tutorial repo
18+
run: |
19+
pip install -e.
20+
- name: Generate data
21+
run: |
22+
elementary-tutorial generate-tutorial-data
23+
- name: Commit changes
24+
run: git commit -am "Generated new data for the tutorial"
25+
- name: Push code
26+
run: git push

0 commit comments

Comments
 (0)