8f29519Export displacement fields for the chain tops, add this repository's own site with a field viewer, and leave the comparison to the challenge repositoryJeremy Magland 1name: Validate and publish
1c822d5Add modal-series and fd-second-order submissions for string-pluck-v1, with results workflowJeremy Magland 2on:
3 push:
4 workflow_dispatch:
5concurrency:
8f29519Export displacement fields for the chain tops, add this repository's own site with a field viewer, and leave the comparison to the challenge repositoryJeremy Magland 6 group: site
1c822d5Add modal-series and fd-second-order submissions for string-pluck-v1, with results workflowJeremy Magland 7 cancel-in-progress: true
8jobs:
8f29519Export displacement fields for the chain tops, add this repository's own site with a field viewer, and leave the comparison to the challenge repositoryJeremy Magland 9 site:
1c822d5Add modal-series and fd-second-order submissions for string-pluck-v1, with results workflowJeremy Magland 10 runs-on: ubuntu-latest
11 steps:
12 - uses: actions/checkout@v4
8f29519Export displacement fields for the chain tops, add this repository's own site with a field viewer, and leave the comparison to the challenge repositoryJeremy Magland 13 - name: Get the challenge repository (specifications and tools)
14 run: git clone --depth 1 --branch main https://vault1.magland.org/challenges/string challenge-repo
1c822d5Add modal-series and fd-second-order submissions for string-pluck-v1, with results workflowJeremy Magland 15 - uses: actions/setup-python@v5
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
1c822d5Add modal-series and fd-second-order submissions for string-pluck-v1, with results workflowJeremy Magland 19 - name: Validate submissions
20 run: challenge-tools validate --challenges challenge-repo/challenges --solutions solutions
8f29519Export displacement fields for the chain tops, add this repository's own site with a field viewer, and leave the comparison to the challenge repositoryJeremy Magland 21 - name: Build this repository's site
22 run: python web/build.py --out site
1c822d5Add modal-series and fd-second-order submissions for string-pluck-v1, with results workflowJeremy Magland 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