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

25 lines
699 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 && zip branding.zip output/*
- name: Upload
uses: "https://github.com/VAllens/gitea-publish-generic-packages@964d7701ffad8a3323bebb99218d4193e5d7ac89"
with:
token: ${{ github.token }}
files: |-
branding.zip