-
Notifications
You must be signed in to change notification settings - Fork 45
43 lines (34 loc) · 986 Bytes
/
ARF.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: App Releases Fetcher
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '52 23 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@master
- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests
pip install markdown
- name: Run the script
run: python3 tools/app-release-notes/generate_app_notes.py
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.DHIS2_BOT_GITHUB_TOKEN }}
- name: pull any other changes
run: git pull
shell: bash
- name: Commit & Push changes
uses: actions-js/push@master
with:
directory: website/data/
branch: master
github_token: ${{ secrets.DHIS2_BOT_GITHUB_TOKEN }}