From 0230a3e09445b35148e356336e7193c05761e794 Mon Sep 17 00:00:00 2001 From: Alex <94073946+Alex-NRCan@users.noreply.github.com> Date: Wed, 18 Oct 2023 19:49:55 -0400 Subject: [PATCH 1/3] One more small push to test final process. (#31) --- src/app.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.tsx b/src/app.tsx index 91fff26..6c56ee4 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -2,7 +2,7 @@ import { Chart } from './chart'; import { ValidatorResult } from './chart-validator'; /** - * Create a container to visualize a GeoChart in a standalone manner.. + * Create a container to visualize a GeoChart in a standalone manner. * * @returns {JSX.Elemet} the element that has the GeoChart */ From 7a74e7feecb6a550d86c317d771b9c187326acdd Mon Sep 17 00:00:00 2001 From: Alex <94073946+Alex-NRCan@users.noreply.github.com> Date: Wed, 18 Oct 2023 19:52:34 -0400 Subject: [PATCH 2/3] Update main.yml (#32) --- .github/workflows/main.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bdb55a0..631da9c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,10 +1,12 @@ name: Build artifacts and push to gh-pages on: - #pull_request_target: - # types: [closed] - push: + pull_request_target: + types: [closed] branches: - develop + # push: + # branches: + # - develop workflow_dispatch: jobs: From a2263e658aa5a435420d4f3e56cb5bfceb471b67 Mon Sep 17 00:00:00 2001 From: Alex <94073946+Alex-NRCan@users.noreply.github.com> Date: Wed, 18 Oct 2023 19:55:32 -0400 Subject: [PATCH 3/3] Update main.yml (#33) --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 631da9c..533430a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,7 +30,7 @@ jobs: uses: s0/git-publish-subdir-action@develop env: REPO: self - BRANCH: toto # The branch name where you want to push the assets + BRANCH: gh-pages # The branch name where you want to push the assets FOLDER: dist # The directory where your assets are generated GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GitHub will automatically add this - you don't need to bother getting a token MESSAGE: "Build: ({sha}) {msg}" # The commit message