/ challenges-old / string-solutions
Sign in
challenges-old / string-solutions
string-solutions / .mochi / workflows / results.yml
30 lines · 1.0 KBCodeBlameHistory
3 push:
4 workflow_dispatch:
5concurrency:
8jobs:
11 steps:
12 - uses: actions/checkout@v4
14 run: git clone --depth 1 --branch main https://vault1.magland.org/challenges/string challenge-repo
16 with:
17 python-version: '3.12'
dd35366Install the shared challenge-tools package; read the field grid from axes and shapeJeremy Magland 18 - run: pip install git+https://vault1.magland.org/challenges/challenge-tools
20 run: challenge-tools validate --challenges challenge-repo/challenges --solutions solutions
22 run: python web/build.py --out site
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