name: Results on: push: workflow_dispatch: concurrency: group: results cancel-in-progress: true jobs: results: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: '3.12' - run: pip install git+https://vault1.magland.org/challenges/challenge-tools - name: Fetch the registered solution repositories run: challenge-tools fetch --registry registry/solution-repos.json --clones clones --vault-url https://vault1.magland.org - name: Build the comparison site run: > challenge-tools build --challenges challenges --registry registry/solution-repos.json --clones clones --out site --vault-url https://vault1.magland.org --challenge-repo-url https://vault1.magland.org/challenges/plate - if: github.ref == 'refs/heads/main' uses: actions/configure-pages@v4 - if: github.ref == 'refs/heads/main' uses: actions/upload-pages-artifact@v3 with: path: site - if: github.ref == 'refs/heads/main' uses: actions/deploy-pages@v4