33 lines
844 B
YAML
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
|