This repository has been archived on 2024-08-25. You can view files and clone it, but cannot push or open issues or pull requests.
gitea-branding/.gitea/workflows/ci.yml

24 lines
594 B
YAML
Raw Normal View History

2023-03-26 19:57:10 +01:00
name: CI
on:
- push
jobs:
build:
runs-on: ubuntu-latest
container: catthehacker/ubuntu:act-latest
steps:
- uses: "https://github.com/actions/checkout@v3"
- name: Set up Python
uses: "https://github.com/actions/setup-python@v4"
with:
python-version: "3.11"
2023-03-26 20:00:13 +01:00
- name: Install dependencies
run: pip install -r requirements.txt
2023-03-26 19:57:10 +01:00
- name: Build
2023-03-26 20:38:35 +01:00
run: ./generate.py
2023-03-26 19:57:10 +01:00
- name: Upload
run: ./upload.py
env:
GITEA_TOKEN: ${{ env.GITHUB_TOKEN }}
GITEA_URL: ${{ env.GITHUB_SERVER_URL }}