Files
Alkane CI 78f1f82b38
next-site-candidate / validate-and-candidate (push) Canceled after 0s
Add honest badges for public benchmark repository
2026-10-16 08:38:26 -06:00

33 lines
844 B
YAML

name: next-site-candidate
on:
push:
branches: [next]
concurrency:
group: alkane-benchmarks-next
cancel-in-progress: false
jobs:
validate-and-candidate:
runs-on: alkane-ci
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Validate published Pages snapshot
run: python3 ci/check_published.py
- name: Select candidate version
id: version
run: python3 ci/version.py next >> "$GITHUB_OUTPUT"
- name: Release candidate
if: steps.version.outputs.release == 'true'
env:
GITEA_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: python3 ci/release.py "${{ steps.version.outputs.tag }}" next
- name: Clean generated Python work
if: always()
run: python3 ci/cleanup.py