fix: only iterate over the dimensions covered by the canvas #224
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy static files to GitHub Pages | |
on: [workflow_dispatch, push] | |
jobs: | |
deploy: | |
if: github.ref == 'refs/heads/main' | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
steps: | |
- uses: actions/checkout@v3 | |
# build dynamo | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "18" | |
- name: Build Dynamo | |
run: | | |
cd analyses/dynamo | |
yarn install --frozen-lockfile | |
yarn build | |
rm -rf node_modules | |
cp src/assets/AutodeskDynamoFormaBetaTerms.pdf dist/assets/AutodeskDynamoFormaBetaTerms.pdf | |
cd ../.. | |
# end build dynamo | |
- uses: actions/configure-pages@v3 | |
- uses: actions/upload-pages-artifact@v2 | |
with: | |
path: "analyses" | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v2 |