17 lines
495 B
YAML
17 lines
495 B
YAML
name: build
|
|
on: [push]
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with: { python-version: '3.11' }
|
|
- run: pip install pyyaml
|
|
- run: python scripts/build.py
|
|
- run: |
|
|
git config user.email ci@gitea && git config user.name ci
|
|
git add docs/estimate.md web/data.json
|
|
git diff --staged --quiet || git commit -m "ci: rebuild estimate [skip ci]"
|
|
git push
|