/ challenges-old / string
Sign in
challenges-old / string
string / .mochi / workflows / results.yml
30 lines · 1.1 KBCodeBlameHistory
2on:
3 push:
4 workflow_dispatch:
5concurrency:
6 group: results
7 cancel-in-progress: true
8jobs:
9 results:
10 runs-on: ubuntu-latest
11 steps:
12 - uses: actions/checkout@v4
13 - uses: actions/setup-python@v5
14 with:
15 python-version: '3.12'
1aa0831Use the shared challenge-tools package; describe the field grid by axes and shapeJeremy Magland 16 - run: pip install git+https://vault1.magland.org/challenges/challenge-tools
18 run: challenge-tools fetch --registry registry/solution-repos.json --clones clones --vault-url https://vault1.magland.org
19 - name: Build the comparison site
20 run: >
21 challenge-tools build --challenges challenges --registry registry/solution-repos.json --clones clones
22 --out site --vault-url https://vault1.magland.org --challenge-repo-url https://vault1.magland.org/challenges/string
23 - if: github.ref == 'refs/heads/main'
24 uses: actions/configure-pages@v4
25 - if: github.ref == 'refs/heads/main'
26 uses: actions/upload-pages-artifact@v3
27 with:
28 path: site
29 - if: github.ref == 'refs/heads/main'
30 uses: actions/deploy-pages@v4
↑↓ move↵openescclose