From b81e21b2cd24debd9e950f6cf50c74da6bdfb3be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Granstr=C3=B6m?= <5092565+HugoGranstrom@users.noreply.github.com> Date: Wed, 20 Nov 2024 22:20:01 +0100 Subject: [PATCH 1/3] add whitespace --- docsrc/interactivity.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/docsrc/interactivity.nim b/docsrc/interactivity.nim index 026422f..8c21e00 100644 --- a/docsrc/interactivity.nim +++ b/docsrc/interactivity.nim @@ -303,3 +303,4 @@ There are many differences worth noticing, like use embedding of `fmt`'s `{}` to There is **one other note for users of happyX**. The event handlers beginning in `@` must be called unambiguously. The more normal block declaration with `:` will not work in the current commit. HappyX does some massaging with its macros to make the syntax work in either case but plain Nim doesn't recognize `@click: ` as a call. The best strategy for resolving the inconsistency hasn't been decided yet, and a potential refactor as happyX continues development may resolve it spontaneously. """ nbSave + From 19075a0ce2925980ccf9aeeb36c4d498d7f63deb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Granstr=C3=B6m?= <5092565+HugoGranstrom@users.noreply.github.com> Date: Wed, 20 Nov 2024 22:38:25 +0100 Subject: [PATCH 2/3] more whitespace --- docsrc/interactivity.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/docsrc/interactivity.nim b/docsrc/interactivity.nim index 8c21e00..fda2380 100644 --- a/docsrc/interactivity.nim +++ b/docsrc/interactivity.nim @@ -304,3 +304,4 @@ There is **one other note for users of happyX**. The event handlers beginning in """ nbSave + From 984c2d28d5c81e8798e1bd78c29007ddc60e6ca8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Granstr=C3=B6m?= <5092565+HugoGranstrom@users.noreply.github.com> Date: Thu, 21 Nov 2024 20:21:49 +0100 Subject: [PATCH 3/3] clean up --- .github/workflows/netlify_deploy_preview.yml | 35 ++------------------ 1 file changed, 2 insertions(+), 33 deletions(-) diff --git a/.github/workflows/netlify_deploy_preview.yml b/.github/workflows/netlify_deploy_preview.yml index 26d2bd8..db5b73f 100644 --- a/.github/workflows/netlify_deploy_preview.yml +++ b/.github/workflows/netlify_deploy_preview.yml @@ -32,44 +32,13 @@ jobs: description: Deploying site to Netlify. Please wait... state: pending - run: rm -rf docs - # - name: 'Download artifacts' - # uses: actions/download-artifact@v4 - # with: - # name: "build-${{ steps.source-run-info.outputs.sourceHeadSha }}" - # path: docs/ - name: 'Download artifacts' uses: dawidd6/action-download-artifact@v2 with: github_token: ${{secrets.GITHUB_TOKEN}} workflow: netlify_build_docs.yml # Name of the workflow that created the artifact - name: "build-${{ steps.source-run-info.outputs.sourceHeadSha }}" # Name of the artifact - path: docs/ # Optional path to extract to - # - name: 'Download artifact' - # uses: actions/github-script@v3.1.0 - # with: - # script: | - # var artifacts = await github.actions.listWorkflowRunArtifacts({ - # owner: context.repo.owner, - # repo: context.repo.repo, - # run_id: ${{github.event.workflow_run.id }}, - # }); - # console.log("Target artifact: " + "build-${{ steps.source-run-info.outputs.sourceHeadSha }}") - # var matchArtifact = artifacts.data.artifacts.filter((artifact) => { - # console.log("Found artifacts: " + artifact.name) - # return artifact.name == "build-${{ steps.source-run-info.outputs.sourceHeadSha }}" - # })[0]; - # if (matchArtifact == undefined) { - # core.setFailed('Artifact not found!'); - # } - # var download = await github.actions.downloadArtifact({ - # owner: context.repo.owner, - # repo: context.repo.repo, - # artifact_id: matchArtifact.id, - # archive_format: 'zip', - # }); - # var fs = require('fs'); - # fs.writeFileSync('${{github.workspace}}/docs.zip', Buffer.from(download.data)); - #- run: unzip -d docs/ docs.zip + name: "build-${{ steps.source-run-info.outputs.sourceHeadSha }}" # Name of the artifact + path: docs/ - run: echo Deploy Alias = ${{ env.GITHUB_SHA_SHORT }} - uses: jsmrcaga/action-netlify-deploy@master with: