Update build files.
This commit is contained in:
parent
e2d680bb30
commit
071eae75b7
23
.gitea/workflows/build.yaml
Normal file
23
.gitea/workflows/build.yaml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
name: dR export statistics build
|
||||||
|
run-name: dR export statistics build
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- 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
|
||||||
|
- run: make
|
||||||
|
- run: echo "This job's status is ${{ job.status }}."
|
||||||
|
- run: git add .
|
||||||
|
- run: git config --global user.email "bot@molodetz.com"
|
||||||
|
- run: git config --global user.name "bot"
|
||||||
|
- run: git commit -a -m "Update export statistics"
|
||||||
|
- run: git push
|
@ -1,12 +1,11 @@
|
|||||||
name: dR export statistics
|
name: dR export statistics scheduled
|
||||||
run-name: dR export statistics
|
run-name: dR export statistics scheduled
|
||||||
on:
|
on:
|
||||||
[push]
|
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '*/30 * * * *'
|
- cron: '*/30 * * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Compile:
|
Export:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
|
Loading…
Reference in New Issue
Block a user