klank-docs/.gitea/workflows/demo.yaml

28 lines
648 B
YAML
Raw Normal View History

2025-01-07 10:26:30 +00:00
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
2025-01-07 10:51:20 +00:00
on:
push:
branches: ["main"]
2025-01-07 10:26:30 +00:00
jobs:
2025-01-07 10:51:20 +00:00
compile-html:
2025-01-07 10:26:30 +00:00
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
2025-01-07 10:51:20 +00:00
- name: Setup python
uses: actions/setup-python@v5
with:
2025-01-07 10:53:38 +00:00
python-version: "3.13.1"
2025-01-07 10:51:20 +00:00
- name: Install dependencies
2025-01-07 10:26:30 +00:00
run: |
2025-01-07 10:51:20 +00:00
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run the python application
run: python test.py
2025-01-07 10:26:30 +00:00
- run: echo "🍏 This job's status is ${{ job.status }}."