From 16a49d2a3cf762c407b047e475bb817ceedc4ec6 Mon Sep 17 00:00:00 2001 From: Dave Tickle Date: Mon, 16 Oct 2023 17:38:00 +0100 Subject: [PATCH 1/5] test cross deploy 1 --- .github/workflows/deploy_dev.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/deploy_dev.yaml b/.github/workflows/deploy_dev.yaml index a8c2d9a..ba97f23 100644 --- a/.github/workflows/deploy_dev.yaml +++ b/.github/workflows/deploy_dev.yaml @@ -34,3 +34,15 @@ jobs: branch: gh-pages # The branch the action should deploy to. folder: build # The folder the action should deploy. target-folder: dev + + - name: Pushes files to 903/LAC repo + uses: dmnemec/copy_file_to_another_repo_action@main + env: + API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} + with: + source_file: 'build' + destination_repo: 'data-to-insight/quality-lac-data-beta' + destination_branch: 'gh-pages' + user_email: 'dave.tickle@socialfinance.org.uk' + user_name: 'dotloadmovie' + commit_message: 'Release to 903' From 56d41de59fcf6eb89a5af14759b8138975245bf9 Mon Sep 17 00:00:00 2001 From: Dave Tickle Date: Mon, 16 Oct 2023 18:07:13 +0100 Subject: [PATCH 2/5] test cross deploy 2 --- .github/workflows/deploy_dev.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy_dev.yaml b/.github/workflows/deploy_dev.yaml index ba97f23..f03ec55 100644 --- a/.github/workflows/deploy_dev.yaml +++ b/.github/workflows/deploy_dev.yaml @@ -42,7 +42,7 @@ jobs: with: source_file: 'build' destination_repo: 'data-to-insight/quality-lac-data-beta' - destination_branch: 'gh-pages' + destination_branch: 'gh-pages-test' user_email: 'dave.tickle@socialfinance.org.uk' user_name: 'dotloadmovie' commit_message: 'Release to 903' From 09facf9b9357c5919ba362310093b7acda309234 Mon Sep 17 00:00:00 2001 From: Dave Tickle Date: Wed, 18 Oct 2023 16:26:43 +0100 Subject: [PATCH 3/5] test cross deploy 2 --- .github/workflows/deploy_dev.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy_dev.yaml b/.github/workflows/deploy_dev.yaml index f03ec55..3344319 100644 --- a/.github/workflows/deploy_dev.yaml +++ b/.github/workflows/deploy_dev.yaml @@ -41,8 +41,8 @@ jobs: API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} with: source_file: 'build' - destination_repo: 'data-to-insight/quality-lac-data-beta' - destination_branch: 'gh-pages-test' + destination_repo: 'data-to-insight/csc-validator-fe-publish-903' + destination_branch: 'gh-pages' user_email: 'dave.tickle@socialfinance.org.uk' user_name: 'dotloadmovie' commit_message: 'Release to 903' From 28b8b79cdf3972b6c905591e5d37f2c2f2355ffa Mon Sep 17 00:00:00 2001 From: Dave Tickle Date: Wed, 18 Oct 2023 16:35:47 +0100 Subject: [PATCH 4/5] test cross deploy 3 --- .github/workflows/deploy_dev.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy_dev.yaml b/.github/workflows/deploy_dev.yaml index 3344319..a7f99f5 100644 --- a/.github/workflows/deploy_dev.yaml +++ b/.github/workflows/deploy_dev.yaml @@ -40,7 +40,7 @@ jobs: env: API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} with: - source_file: 'build' + source_file: 'build/' destination_repo: 'data-to-insight/csc-validator-fe-publish-903' destination_branch: 'gh-pages' user_email: 'dave.tickle@socialfinance.org.uk' From 04450215d200b08be7db2ad74e5c8a37a645dcff Mon Sep 17 00:00:00 2001 From: Dave Tickle Date: Wed, 18 Oct 2023 16:42:12 +0100 Subject: [PATCH 5/5] test cross deploy 4 --- .github/workflows/deploy_dev.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy_dev.yaml b/.github/workflows/deploy_dev.yaml index a7f99f5..0fd9ac7 100644 --- a/.github/workflows/deploy_dev.yaml +++ b/.github/workflows/deploy_dev.yaml @@ -40,7 +40,7 @@ jobs: env: API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} with: - source_file: 'build/' + source_file: 'build/*' destination_repo: 'data-to-insight/csc-validator-fe-publish-903' destination_branch: 'gh-pages' user_email: 'dave.tickle@socialfinance.org.uk'