2024-12-02 21:26:17 +00:00
|
|
|
name: dR export statistics scheduled
|
|
|
|
run-name: dR export statistics scheduled
|
2024-12-02 21:23:50 +00:00
|
|
|
on:
|
|
|
|
schedule:
|
2024-12-03 05:48:57 +00:00
|
|
|
- cron: '00 * * *'
|
2024-11-23 19:07:19 +00:00
|
|
|
|
|
|
|
jobs:
|
2024-12-02 21:26:17 +00:00
|
|
|
Export:
|
2024-11-23 19:07:19 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Check out repository code
|
|
|
|
uses: actions/checkout@v4
|
2024-12-03 03:06:22 +00:00
|
|
|
- name: Update repo
|
|
|
|
run: git pull
|
2024-11-23 19:07:19 +00:00
|
|
|
- name: List files in the repository
|
|
|
|
run: |
|
|
|
|
ls ${{ gitea.workspace }}
|
|
|
|
- run: echo "Install dependencies."
|
|
|
|
- run: apt update
|
|
|
|
- run: apt install python3 python3-pip python3-venv make -y
|
2024-11-23 19:22:22 +00:00
|
|
|
- run: make
|
2024-11-23 19:07:19 +00:00
|
|
|
- run: echo "This job's status is ${{ job.status }}."
|
2024-11-23 19:09:06 +00:00
|
|
|
- run: git add .
|
2024-11-23 19:36:40 +00:00
|
|
|
- run: git config --global user.email "bot@molodetz.com"
|
|
|
|
- run: git config --global user.name "bot"
|
2024-11-23 19:09:06 +00:00
|
|
|
- run: git commit -a -m "Update export statistics"
|
|
|
|
- run: git push
|