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

24 lines
586 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 20:07:32 +01:00
- run: |
export GITEA_TOKEN=$GITHUB_TOKEN
export GITEA_URL=$GITHUB_SERVER_URL
2023-03-26 19:57:10 +01:00
- name: Build
run: ./resize.py
- name: Upload
run: ./upload.py