Files
httptoolkit/.gitea/workflows/build.yml
T
2026-08-15 03:15:19 +05:00

32 lines
704 B
YAML

name: Build & Release binary
on:
push:
branches:
- main
schedule:
# 00:00 on the 1st of every month
- cron: '0 0 1 * *'
workflow_dispatch:
jobs:
build:
runs-on: docker-compose
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build Linux binary (docker)
working-directory: .build/prod
run: docker compose run --build --rm prod
- name: Create Gitea release & upload assets
env:
GITEA_SERVER_URL: ${{ gitea.server_url }}
GITEA_REPOSITORY: ${{ gitea.repository }}
PAT_GITEA: ${{ secrets.PAT_GITEA }}
run: bash .build/prod/release.sh