1
Fork 0
gitea-branding/.gitea/workflows/ci.yml

24 lines
594 B
YAML

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"
- name: Install dependencies
run: pip install -r requirements.txt
- name: Build
run: ./generate.py
- name: Upload
run: ./upload.py
env:
GITEA_TOKEN: ${{ env.GITHUB_TOKEN }}
GITEA_URL: ${{ env.GITHUB_SERVER_URL }}