Skip to content

Commit dc690d4

Browse files
authored
Add job to build Overview Decks on first day of the month
Signed-off-by: John Mertic <[email protected]>
1 parent 09e1f6f commit dc690d4

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/build-decks.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Update Data Sources
2+
on:
3+
schedule:
4+
- cron: '0 0 1 * *'
5+
workflow_dispatch:
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Check out repo
11+
uses: actions/checkout@v3
12+
- name: Set up Python 3.x
13+
uses: actions/setup-python@v4
14+
with:
15+
python-version: '3.x'
16+
- name: Install dependencies
17+
run: |
18+
python -m pip install --upgrade pip
19+
pip install -r overview_deck/requirements.txt
20+
- name: Run build
21+
run: |
22+
python overview_deck/build.py
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.PAT }}
25+
- name: Create Pull Request
26+
uses: peter-evans/create-pull-request@v5
27+
with:
28+
token: ${{ secrets.PAT }}
29+
branch-suffix: timestamp
30+
path: .
31+
title: Update Overview Decks
32+
labels: automerge
33+
commit-message: Update Data Sources
34+
signoff: true

0 commit comments

Comments
 (0)