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

25 lines
699 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
2024-03-01 10:53:48 +00:00
run: ./generate.py && zip branding.zip output/*
2023-03-26 19:57:10 +01:00
- name: Upload
2024-03-01 10:54:50 +00:00
uses: "https://github.com/VAllens/gitea-publish-generic-packages@964d7701ffad8a3323bebb99218d4193e5d7ac89"
2024-03-01 10:53:48 +00:00
with:
token: ${{ github.token }}
files: |-
branding.zip