From c70a9af1dbd1b3f8feaf4711634a845a822d6796 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 08:19:03 +0400 Subject: [PATCH 001/103] Create sample.yml --- .github/workflows/sample.yml | 46 ++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/workflows/sample.yml diff --git a/.github/workflows/sample.yml b/.github/workflows/sample.yml new file mode 100644 index 00000000000..ba3e994fb82 --- /dev/null +++ b/.github/workflows/sample.yml @@ -0,0 +1,46 @@ +name: NodeJS with Webpack + +on: + push: + branches: [ "new-branch" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [16.x] + + steps: + - uses: actions/checkout@v3 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + + - name: Build + run: | + yarn install + npm run build && npm run build:release + + # Deploy job + deploy: + # Add a dependency to the build job + needs: build + + # Grant GITHUB_TOKEN the permissions required to make a Pages deployment + permissions: + pages: write # to deploy to Pages + id-token: write # to verify the deployment originates from an appropriate source + + # Deploy to the github-pages environment + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + + # Specify runner + deployment step + runs-on: ubuntu-latest From 043ba9b02941b4d6f4b7498dc6d4f5d61f9f7153 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 08:22:14 +0400 Subject: [PATCH 002/103] Update sample.yml --- .github/workflows/sample.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/sample.yml b/.github/workflows/sample.yml index ba3e994fb82..cd08319baee 100644 --- a/.github/workflows/sample.yml +++ b/.github/workflows/sample.yml @@ -44,3 +44,7 @@ jobs: # Specify runner + deployment step runs-on: ubuntu-latest + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2 # or the latest "vX.X.X" version tag for this action From a3cf8b91191b67930e02083b7ce18ccf20e7ad80 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 08:35:27 +0400 Subject: [PATCH 003/103] Update sample.yml --- .github/workflows/sample.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sample.yml b/.github/workflows/sample.yml index cd08319baee..e74985b9c57 100644 --- a/.github/workflows/sample.yml +++ b/.github/workflows/sample.yml @@ -25,7 +25,7 @@ jobs: - name: Build run: | yarn install - npm run build && npm run build:release + npm run build # Deploy job deploy: From 746038acbbbd216b88d95d66526c3ca5568a2258 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 09:27:22 +0400 Subject: [PATCH 004/103] Update sample.yml --- .github/workflows/sample.yml | 27 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-) diff --git a/.github/workflows/sample.yml b/.github/workflows/sample.yml index e74985b9c57..299a474774a 100644 --- a/.github/workflows/sample.yml +++ b/.github/workflows/sample.yml @@ -26,25 +26,8 @@ jobs: run: | yarn install npm run build - - # Deploy job - deploy: - # Add a dependency to the build job - needs: build - - # Grant GITHUB_TOKEN the permissions required to make a Pages deployment - permissions: - pages: write # to deploy to Pages - id-token: write # to verify the deployment originates from an appropriate source - - # Deploy to the github-pages environment - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - - # Specify runner + deployment step - runs-on: ubuntu-latest - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v2 # or the latest "vX.X.X" version tag for this action + - name: Upload + uses: actions/upload-artifact@v3 + with: + name: my-artifact + path: path/to/artifact/world.txt From cbe808330f6ec703653b28813a09ecae98284ee7 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 09:30:11 +0400 Subject: [PATCH 005/103] Update sample.yml --- .github/workflows/sample.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sample.yml b/.github/workflows/sample.yml index 299a474774a..6f220f02a14 100644 --- a/.github/workflows/sample.yml +++ b/.github/workflows/sample.yml @@ -30,4 +30,4 @@ jobs: uses: actions/upload-artifact@v3 with: name: my-artifact - path: path/to/artifact/world.txt + path: platform/app/dist From d26047b7191bf461135ede9a5e621ec8ff31f1ea Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 10:14:36 +0400 Subject: [PATCH 006/103] Update sample.yml --- .github/workflows/sample.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/sample.yml b/.github/workflows/sample.yml index 6f220f02a14..e2623432937 100644 --- a/.github/workflows/sample.yml +++ b/.github/workflows/sample.yml @@ -31,3 +31,15 @@ jobs: with: name: my-artifact path: platform/app/dist + + deploy: + environment: + name: development + url: https://github.com/${{ github.repository }}/releases/tag/1 + runs-on: ubuntu-latest + steps: + - name: Download + uses: actions/upload-artifact@v3 + with: + name: my-artifact + path: dist From 4db48f3632a354ddc9650638afe5515439e80b9e Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 10:21:43 +0400 Subject: [PATCH 007/103] Update sample.yml --- .github/workflows/sample.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sample.yml b/.github/workflows/sample.yml index e2623432937..9bb4a7eae44 100644 --- a/.github/workflows/sample.yml +++ b/.github/workflows/sample.yml @@ -39,7 +39,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download - uses: actions/upload-artifact@v3 + uses: actions/download-artifact@v3 with: name: my-artifact path: dist From c38a9f4962a2109c766af449647c6a6660ecb45b Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 10:28:52 +0400 Subject: [PATCH 008/103] Update sample.yml --- .github/workflows/sample.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sample.yml b/.github/workflows/sample.yml index 9bb4a7eae44..714f564339a 100644 --- a/.github/workflows/sample.yml +++ b/.github/workflows/sample.yml @@ -2,7 +2,7 @@ name: NodeJS with Webpack on: push: - branches: [ "new-branch" ] + branches: [ "maya-trenser-action-1" ] pull_request: branches: [ "master" ] @@ -42,4 +42,4 @@ jobs: uses: actions/download-artifact@v3 with: name: my-artifact - path: dist + path: platform/app/dist From 8b95a3b732dc786079aebf8105c7f3afcf4736aa Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 10:42:51 +0400 Subject: [PATCH 009/103] Update sample.yml --- .github/workflows/sample.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sample.yml b/.github/workflows/sample.yml index 714f564339a..f7cb1b04ebf 100644 --- a/.github/workflows/sample.yml +++ b/.github/workflows/sample.yml @@ -37,9 +37,11 @@ jobs: name: development url: https://github.com/${{ github.repository }}/releases/tag/1 runs-on: ubuntu-latest + needs: + build steps: - name: Download uses: actions/download-artifact@v3 with: name: my-artifact - path: platform/app/dist + path: platform/app From f8be3dfc5f5c8f3fa959f44d1f873436f4d5e9f5 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 12:34:06 +0400 Subject: [PATCH 010/103] Update sample.yml --- .github/workflows/sample.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sample.yml b/.github/workflows/sample.yml index f7cb1b04ebf..d3e8d0ceb3f 100644 --- a/.github/workflows/sample.yml +++ b/.github/workflows/sample.yml @@ -1,8 +1,8 @@ name: NodeJS with Webpack on: - push: - branches: [ "maya-trenser-action-1" ] + #push: + #branches: [ "maya-trenser-action-1" ] pull_request: branches: [ "master" ] From e007460ba2b99cd5acc3c41074623070c83fbf6d Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 12:45:30 +0400 Subject: [PATCH 011/103] Create test.yml --- .github/workflows/test.yml | 84 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000000..3fcdd25d876 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,84 @@ +name: NodeJS with Webpack + +on: + push: + branches: [ "maya-trenser-action-1" ] + pull_request: + branches: [ "master" ] + +jobs: + install: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [16.x] + + steps: + - uses: actions/checkout@v3 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + + - name: Build + run: yarn install + + buildCornerstone3D: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [16.x] + + steps: + - name: Build + uses: actions/checkout@v3 + with: + repository: maya-trenser/cornerstone3D + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + + - name: Build + run: | + yarn install + yarn build:all + + buildViewer: + runs-on: ubuntu-latest + + needs: [install, buildCornerstone3D] + + strategy: + matrix: + node-version: [16.x] + + steps: + - uses: actions/checkout@v3 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + + - name: Build + run: npm run build + + - name: Upload + uses: actions/upload-artifact@v3 + with: + name: my-artifact + path: platform/app/dist + + test: + runs-on: ubuntu-latest + needs: + buildViewer + steps: + - name: echooo + run: | + echo "If you can read this, succeeded" From 013ae84f9a0d6dd74cea9262e7ae0b5b06fac505 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 13:05:50 +0400 Subject: [PATCH 012/103] Update test.yml --- .github/workflows/test.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3fcdd25d876..5d67f41dfba 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,7 +33,7 @@ jobs: node-version: [16.x] steps: - - name: Build + - name: Checkout uses: actions/checkout@v3 with: repository: maya-trenser/cornerstone3D @@ -58,13 +58,6 @@ jobs: node-version: [16.x] steps: - - uses: actions/checkout@v3 - - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - - name: Build run: npm run build From 7f2f1ca2b9e93de3c0fe2eb3f1ad0d5a4ae7a817 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 13:14:18 +0400 Subject: [PATCH 013/103] Update test.yml --- .github/workflows/test.yml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5d67f41dfba..dbc4d53e162 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ on: branches: [ "master" ] jobs: - install: + buildCornerstone3D: runs-on: ubuntu-latest strategy: @@ -15,7 +15,11 @@ jobs: node-version: [16.x] steps: - - uses: actions/checkout@v3 + - name: Checkout + uses: actions/checkout@v3 + with: + repository: maya-trenser/cornerstone3D + path: './cornerstone3D' - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 @@ -23,9 +27,11 @@ jobs: node-version: ${{ matrix.node-version }} - name: Build - run: yarn install + run: | + yarn install + yarn build:all - buildCornerstone3D: + installViewer: runs-on: ubuntu-latest strategy: @@ -33,10 +39,7 @@ jobs: node-version: [16.x] steps: - - name: Checkout - uses: actions/checkout@v3 - with: - repository: maya-trenser/cornerstone3D + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 @@ -44,14 +47,12 @@ jobs: node-version: ${{ matrix.node-version }} - name: Build - run: | - yarn install - yarn build:all + run: yarn install buildViewer: runs-on: ubuntu-latest - needs: [install, buildCornerstone3D] + needs: [installViewer, buildCornerstone3D] strategy: matrix: From 02ed61bbf9aa390c50cf64d459a3dc0b1c591d09 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 13:36:41 +0400 Subject: [PATCH 014/103] Update test.yml --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dbc4d53e162..0586ebce0f2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,7 +40,9 @@ jobs: steps: - uses: actions/checkout@v3 - + with: + repository: maya-trenser/Viewers + path: './Viewers' - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: From 2cd1ac4a638e691f1b1e393c492a86f5762f1e5b Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 13:45:52 +0400 Subject: [PATCH 015/103] Update test.yml --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0586ebce0f2..7ea2f3ad874 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,6 +38,9 @@ jobs: matrix: node-version: [16.x] + needs: + buildCornerstone3D + steps: - uses: actions/checkout@v3 with: From 541e8ecf5450f2ea8a0623c3b5b0758f327fc389 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 14:10:22 +0400 Subject: [PATCH 016/103] Update test.yml --- .github/workflows/test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7ea2f3ad874..74edbd974fd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@v3 with: repository: maya-trenser/cornerstone3D - path: './cornerstone3D' + path: ./cornerstone3D - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 @@ -28,6 +28,7 @@ jobs: - name: Build run: | + cd ./cornerstone3D yarn install yarn build:all @@ -45,7 +46,7 @@ jobs: - uses: actions/checkout@v3 with: repository: maya-trenser/Viewers - path: './Viewers' + path: ./Viewers - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: From d524dbd080b5f215ecaf42a1068ed25be6fc3fe2 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 14:18:13 +0400 Subject: [PATCH 017/103] Update test.yml --- .github/workflows/test.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 74edbd974fd..018dadc8577 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,7 +28,6 @@ jobs: - name: Build run: | - cd ./cornerstone3D yarn install yarn build:all From ce7b1bb101aa6bacc208ab0771cf2c4ff36ec144 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 14:19:56 +0400 Subject: [PATCH 018/103] Update test.yml --- .github/workflows/test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 018dadc8577..95cf7d32c16 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,6 +28,7 @@ jobs: - name: Build run: | + cd ./cornerstone3D yarn install yarn build:all @@ -52,8 +53,9 @@ jobs: node-version: ${{ matrix.node-version }} - name: Build - run: yarn install - + run: | + cd ./Viewers + yarn install buildViewer: runs-on: ubuntu-latest From 77e1423e150e893e5ff8558d0c76acc3ed15f73e Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 14:28:23 +0400 Subject: [PATCH 019/103] Update test.yml --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 95cf7d32c16..1b261826fdc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -67,7 +67,9 @@ jobs: steps: - name: Build - run: npm run build + run: | + cd ./Viewers + npm run build - name: Upload uses: actions/upload-artifact@v3 From 9f09131fae81e8ae8c2d79fa9732c878c6c227b5 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 14:55:17 +0400 Subject: [PATCH 020/103] Update test.yml --- .github/workflows/test.yml | 30 +++++++++--------------------- 1 file changed, 9 insertions(+), 21 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1b261826fdc..d7064c2c56e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -47,40 +47,28 @@ jobs: with: repository: maya-trenser/Viewers path: ./Viewers + - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - - name: Build + - name: Install run: | cd ./Viewers yarn install - buildViewer: - runs-on: ubuntu-latest - - needs: [installViewer, buildCornerstone3D] - - strategy: - matrix: - node-version: [16.x] - - steps: - - name: Build - run: | - cd ./Viewers - npm run build - - name: Upload - uses: actions/upload-artifact@v3 - with: - name: my-artifact - path: platform/app/dist + - name: Copy + run: | + cd .. + cp -a ./cornerstone3D/packages/dicomImageLoader/dist. ./Viewers/node_modules/@cornerstonejs/dicom-image-loader/dist + cd ./Viewers + yarn run build test: runs-on: ubuntu-latest needs: - buildViewer + installViewer steps: - name: echooo run: | From ffbeecfe84f29196c8a7e572302807c79e7e0966 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 15:04:59 +0400 Subject: [PATCH 021/103] Update test.yml --- .github/workflows/test.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d7064c2c56e..d954035d677 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -60,7 +60,6 @@ jobs: - name: Copy run: | - cd .. cp -a ./cornerstone3D/packages/dicomImageLoader/dist. ./Viewers/node_modules/@cornerstonejs/dicom-image-loader/dist cd ./Viewers yarn run build From cc4c61376f50f31368eb9e517467772a3348a074 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 15:29:27 +0400 Subject: [PATCH 022/103] Update test.yml --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d954035d677..582b78212a2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -60,7 +60,7 @@ jobs: - name: Copy run: | - cp -a ./cornerstone3D/packages/dicomImageLoader/dist. ./Viewers/node_modules/@cornerstonejs/dicom-image-loader/dist + cp -a ./cornerstone3D/packages/dicomImageLoader/dist ./Viewers/node_modules/@cornerstonejs/dicom-image-loader/dist cd ./Viewers yarn run build From d99e1d6c0a36d01e5a9f6feebb64cf8d522d671e Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 15:59:15 +0400 Subject: [PATCH 023/103] Update test.yml --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 582b78212a2..d75bbc2c620 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -60,7 +60,7 @@ jobs: - name: Copy run: | - cp -a ./cornerstone3D/packages/dicomImageLoader/dist ./Viewers/node_modules/@cornerstonejs/dicom-image-loader/dist + cp -a ./cornerstone3D/cornerstone3D/packages/dicomImageLoader/dist ./Viewers/Viewers/node_modules/@cornerstonejs/dicom-image-loader/dist cd ./Viewers yarn run build From c7803d74a6e9a375d1a10d4407e5511aa7c7c6f8 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 16:04:20 +0400 Subject: [PATCH 024/103] Update test.yml --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d75bbc2c620..9749ffe93b0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,6 +29,7 @@ jobs: - name: Build run: | cd ./cornerstone3D + pwd yarn install yarn build:all @@ -56,10 +57,12 @@ jobs: - name: Install run: | cd ./Viewers + pwd yarn install - name: Copy run: | + pwd cp -a ./cornerstone3D/cornerstone3D/packages/dicomImageLoader/dist ./Viewers/Viewers/node_modules/@cornerstonejs/dicom-image-loader/dist cd ./Viewers yarn run build From 83372a73ae3d249698bd178e9e194c3cb78d2aad Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 16:06:12 +0400 Subject: [PATCH 025/103] Update test.yml From 21f3d7320cd1a9205e9baaa9182780d95bfbf67e Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 16:14:54 +0400 Subject: [PATCH 026/103] Update test.yml --- .github/workflows/test.yml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9749ffe93b0..4de7fb5ac81 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,17 +33,6 @@ jobs: yarn install yarn build:all - installViewer: - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [16.x] - - needs: - buildCornerstone3D - - steps: - uses: actions/checkout@v3 with: repository: maya-trenser/Viewers @@ -63,14 +52,14 @@ jobs: - name: Copy run: | pwd - cp -a ./cornerstone3D/cornerstone3D/packages/dicomImageLoader/dist ./Viewers/Viewers/node_modules/@cornerstonejs/dicom-image-loader/dist + cp -a ./cornerstone3D/packages/dicomImageLoader/dist ./Viewers/node_modules/@cornerstonejs/dicom-image-loader/dist cd ./Viewers yarn run build test: runs-on: ubuntu-latest needs: - installViewer + buildCornerstone3D steps: - name: echooo run: | From 6d1d428bf181b717efd25876b6f963dba09277d4 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 16:32:51 +0400 Subject: [PATCH 027/103] Update test.yml --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4de7fb5ac81..1e95293a4d6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,7 +18,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 with: - repository: maya-trenser/cornerstone3D + repository: maya-trenser/cornerstone3D/maya-trenser-patch-1 path: ./cornerstone3D - name: Use Node.js ${{ matrix.node-version }} From 9fc7e774f0946f9c06016fc4356fa713e398775e Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 16:34:53 +0400 Subject: [PATCH 028/103] Update test.yml --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1e95293a4d6..245a92ef537 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,7 +18,8 @@ jobs: - name: Checkout uses: actions/checkout@v3 with: - repository: maya-trenser/cornerstone3D/maya-trenser-patch-1 + repository: maya-trenser/cornerstone3D + ref: maya-trenser-patch-1 path: ./cornerstone3D - name: Use Node.js ${{ matrix.node-version }} From 94a47673173b266c2f6ff8523cab7061b39ffa87 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Mon, 25 Sep 2023 16:57:17 +0400 Subject: [PATCH 029/103] Update test.yml --- .github/workflows/test.yml | 30 +++++++++++------------------- 1 file changed, 11 insertions(+), 19 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 245a92ef537..457aa4a12b1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,18 +15,18 @@ jobs: node-version: [16.x] steps: + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + - name: Checkout uses: actions/checkout@v3 with: repository: maya-trenser/cornerstone3D ref: maya-trenser-patch-1 path: ./cornerstone3D - - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - + - name: Build run: | cd ./cornerstone3D @@ -39,22 +39,14 @@ jobs: repository: maya-trenser/Viewers path: ./Viewers - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - - - name: Install - run: | - cd ./Viewers - pwd - yarn install - - - name: Copy + - name: Link run: | + cd ./cornerstone3D/packages/dicomImageLoader/dist pwd - cp -a ./cornerstone3D/packages/dicomImageLoader/dist ./Viewers/node_modules/@cornerstonejs/dicom-image-loader/dist + yarn link cd ./Viewers + yarn link @cornerstonejs/dicom-image-loader + yarn install yarn run build test: From 461e1d7bb4abe1689ea8c02edb27bb8189f2643c Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 08:08:26 +0400 Subject: [PATCH 030/103] Update test.yml --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 457aa4a12b1..f7120c60e7f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -44,7 +44,7 @@ jobs: cd ./cornerstone3D/packages/dicomImageLoader/dist pwd yarn link - cd ./Viewers + cd ../../../../Viewers yarn link @cornerstonejs/dicom-image-loader yarn install yarn run build From f53428b977ac6ffc310b25c2d620958f1cf55563 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 08:49:53 +0400 Subject: [PATCH 031/103] Update test.yml --- .github/workflows/test.yml | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f7120c60e7f..83e0c7520ef 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,21 +19,20 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - + - name: Checkout uses: actions/checkout@v3 with: repository: maya-trenser/cornerstone3D ref: maya-trenser-patch-1 path: ./cornerstone3D - + - name: Build run: | cd ./cornerstone3D pwd yarn install yarn build:all - - uses: actions/checkout@v3 with: repository: maya-trenser/Viewers @@ -49,6 +48,22 @@ jobs: yarn install yarn run build + deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + repository: maya-trenser/maya-trenser.github.io + path: ./maya-trenser.github.io + + - name: Copy + run: | + pwd + rm -r ./maya-trenser.github.io + cp -r ./Viewers/platform/app/dist/ ./maya-trenser.github.io + test: runs-on: ubuntu-latest needs: @@ -57,3 +72,4 @@ jobs: - name: echooo run: | echo "If you can read this, succeeded" +Update test.yml · maya-trenser/Viewers@461e1d7 From e1bd98a63bf367fd48fd7a93dbe647831b34f7ae Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 08:50:52 +0400 Subject: [PATCH 032/103] Update test.yml --- .github/workflows/test.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 83e0c7520ef..c5cc3b74fc0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -72,4 +72,3 @@ jobs: - name: echooo run: | echo "If you can read this, succeeded" -Update test.yml · maya-trenser/Viewers@461e1d7 From 56354219bb3e5444c3ae28e57b4d5833b9df868d Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 08:53:40 +0400 Subject: [PATCH 033/103] Update test.yml --- .github/workflows/test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c5cc3b74fc0..3ce7e96ff9c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -50,7 +50,8 @@ jobs: deploy: runs-on: ubuntu-latest - + needs: + buildCornerstone3D steps: - name: Checkout uses: actions/checkout@v3 @@ -67,7 +68,7 @@ jobs: test: runs-on: ubuntu-latest needs: - buildCornerstone3D + deploy steps: - name: echooo run: | From 0f06e41a4921e59e455b26ddedf2a2c597502c22 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 09:07:29 +0400 Subject: [PATCH 034/103] Update test.yml --- .github/workflows/test.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3ce7e96ff9c..a9fc107a679 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -48,12 +48,7 @@ jobs: yarn install yarn run build - deploy: - runs-on: ubuntu-latest - needs: - buildCornerstone3D - steps: - - name: Checkout + - name: Checkout gh page uses: actions/checkout@v3 with: repository: maya-trenser/maya-trenser.github.io @@ -68,7 +63,7 @@ jobs: test: runs-on: ubuntu-latest needs: - deploy + buildCornerstone3D steps: - name: echooo run: | From c438a039f64f6a0bd9b75362ea42d4b569696047 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 09:22:38 +0400 Subject: [PATCH 035/103] Update test.yml --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a9fc107a679..3c56bfebdab 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -57,8 +57,11 @@ jobs: - name: Copy run: | pwd + ls -a ./maya-trenser.github.io rm -r ./maya-trenser.github.io + ls -a ./Viewers/platform/app/dist/ cp -r ./Viewers/platform/app/dist/ ./maya-trenser.github.io + ls -a ./maya-trenser.github.io test: runs-on: ubuntu-latest From 480bcf1bbd6e4743dcc46f57ae8f601a57cf0305 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 09:38:56 +0400 Subject: [PATCH 036/103] Update test.yml --- .github/workflows/test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3c56bfebdab..649c6f1cdbc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -62,6 +62,11 @@ jobs: ls -a ./Viewers/platform/app/dist/ cp -r ./Viewers/platform/app/dist/ ./maya-trenser.github.io ls -a ./maya-trenser.github.io + cd ./maya-trenser.github.io + git config --global user.name "maya-trenser" + git config --global user.email "maya.mohan@trenser.com" + git commit -a -m "publishing viewer" + git push test: runs-on: ubuntu-latest From 09159e96b73f938d1ff24e33d1af162e69968eee Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 10:14:14 +0400 Subject: [PATCH 037/103] Update test.yml --- .github/workflows/test.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 649c6f1cdbc..ba8ea5d84e9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -58,7 +58,10 @@ jobs: run: | pwd ls -a ./maya-trenser.github.io - rm -r ./maya-trenser.github.io + mv ./maya-trenser.github.io/.git /tmp/ + rm -r ./maya-trenser.github.io/* + mv /tmp/.git ./maya-trenser.github.io + ls -a ./maya-trenser.github.io ls -a ./Viewers/platform/app/dist/ cp -r ./Viewers/platform/app/dist/ ./maya-trenser.github.io ls -a ./maya-trenser.github.io From dbc5706196fb579de4c7a2a89f7a0e96c0386f86 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 10:30:01 +0400 Subject: [PATCH 038/103] Update test.yml --- .github/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ba8ea5d84e9..052878c9844 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,10 +1,10 @@ name: NodeJS with Webpack on: - push: - branches: [ "maya-trenser-action-1" ] - pull_request: - branches: [ "master" ] + #push: + #branches: [ "maya-trenser-action-1" ] + #pull_request: + #branches: [ "master" ] jobs: buildCornerstone3D: From e4d6752057f5deccbf056427f5a70f784a5cd078 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 10:30:33 +0400 Subject: [PATCH 039/103] Update sample.yml --- .github/workflows/sample.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sample.yml b/.github/workflows/sample.yml index d3e8d0ceb3f..e4990edb561 100644 --- a/.github/workflows/sample.yml +++ b/.github/workflows/sample.yml @@ -3,8 +3,8 @@ name: NodeJS with Webpack on: #push: #branches: [ "maya-trenser-action-1" ] - pull_request: - branches: [ "master" ] + #pull_request: + #branches: [ "master" ] jobs: build: From 83d72227bb70469ba31aa74bcb771d4b00fa62b9 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 10:32:04 +0400 Subject: [PATCH 040/103] Create commit.yml --- .github/workflows/commit.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/workflows/commit.yml diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml new file mode 100644 index 00000000000..5e63157aec7 --- /dev/null +++ b/.github/workflows/commit.yml @@ -0,0 +1 @@ +To test commit From 323009692b8ba3c1b666e2bae86847f436b9d7c1 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 10:33:59 +0400 Subject: [PATCH 041/103] Update commit.yml --- .github/workflows/commit.yml | 42 +++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 5e63157aec7..0abab660bfb 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -1 +1,41 @@ -To test commit +#To test commit +name: NodeJS with Webpack + +on: + push: + branches: [ "maya-trenser-action-1" ] + #pull_request: + #branches: [ "master" ] + +jobs: + buildCornerstone3D: + runs-on: ubuntu-latest + + steps: + - name: Checkout gh page + uses: actions/checkout@v3 + with: + repository: maya-trenser/maya-trenser.github.io + path: ./maya-trenser.github.io + + - name: Copy + run: | + pwd + ls -a ./maya-trenser.github.io + mv ./maya-trenser.github.io/.git /tmp/ + rm -r ./maya-trenser.github.io/* + mv /tmp/.git ./maya-trenser.github.io + ls -a ./maya-trenser.github.io + git config --global user.name "maya-trenser" + git config --global user.email "maya.mohan@trenser.com" + git commit -a -m "publishing viewer" + git push + + test: + runs-on: ubuntu-latest + needs: + buildCornerstone3D + steps: + - name: echooo + run: | + echo "If you can read this, succeeded" From a8b8c7893792bdc1eb94bdc3ca385fcab5b86df3 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 10:35:13 +0400 Subject: [PATCH 042/103] Update commit.yml --- .github/workflows/commit.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 0abab660bfb..9e3c0431df4 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -26,6 +26,7 @@ jobs: rm -r ./maya-trenser.github.io/* mv /tmp/.git ./maya-trenser.github.io ls -a ./maya-trenser.github.io + cd ./maya-trenser.github.io git config --global user.name "maya-trenser" git config --global user.email "maya.mohan@trenser.com" git commit -a -m "publishing viewer" From 39b27fb78b84249bfd68bf16a3f525db2311b30c Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 10:40:43 +0400 Subject: [PATCH 043/103] Update commit.yml --- .github/workflows/commit.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 9e3c0431df4..bc81d70a004 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -19,6 +19,8 @@ jobs: path: ./maya-trenser.github.io - name: Copy + env: + GITHUB_TOKEN: ${{ github.token }} run: | pwd ls -a ./maya-trenser.github.io From 741a6163141168c5032f806c8ef2162d1fe4e915 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 10:47:40 +0400 Subject: [PATCH 044/103] Update commit.yml --- .github/workflows/commit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index bc81d70a004..fa7d5d9fb11 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -32,7 +32,7 @@ jobs: git config --global user.name "maya-trenser" git config --global user.email "maya.mohan@trenser.com" git commit -a -m "publishing viewer" - git push + git push --set-upstream https://user:$GITHUB_TOKEN@github.com/maya-trenser/maya-trenser.github.io test: runs-on: ubuntu-latest From ab6eec08597864f4ad1b8d55d9fa7aa9912f773f Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 10:53:53 +0400 Subject: [PATCH 045/103] Update commit.yml --- .github/workflows/commit.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index fa7d5d9fb11..9e46b6b284d 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -17,10 +17,9 @@ jobs: with: repository: maya-trenser/maya-trenser.github.io path: ./maya-trenser.github.io + token: ${{ github.token }} - name: Copy - env: - GITHUB_TOKEN: ${{ github.token }} run: | pwd ls -a ./maya-trenser.github.io @@ -32,7 +31,7 @@ jobs: git config --global user.name "maya-trenser" git config --global user.email "maya.mohan@trenser.com" git commit -a -m "publishing viewer" - git push --set-upstream https://user:$GITHUB_TOKEN@github.com/maya-trenser/maya-trenser.github.io + git push test: runs-on: ubuntu-latest From 5059dd932e385fcb4346f3a4df0b9daab3dbcf95 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 10:57:59 +0400 Subject: [PATCH 046/103] Update commit.yml --- .github/workflows/commit.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 9e46b6b284d..3fd1a91b18b 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -7,6 +7,9 @@ on: #pull_request: #branches: [ "master" ] +permissions: + contents: write + jobs: buildCornerstone3D: runs-on: ubuntu-latest From bf749adad6dcaee08d798ce91e5bfd12fca4ae29 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 10:59:25 +0400 Subject: [PATCH 047/103] Update commit.yml --- .github/workflows/commit.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 3fd1a91b18b..523db1a6644 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -20,7 +20,6 @@ jobs: with: repository: maya-trenser/maya-trenser.github.io path: ./maya-trenser.github.io - token: ${{ github.token }} - name: Copy run: | From f9bc981d9caa6880bd62e91dc38848fda69a17aa Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 11:05:49 +0400 Subject: [PATCH 048/103] Update commit.yml --- .github/workflows/commit.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 523db1a6644..a9612640ae3 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -20,6 +20,7 @@ jobs: with: repository: maya-trenser/maya-trenser.github.io path: ./maya-trenser.github.io + token: ${{ secrets.GITHUB_TOKEN }} - name: Copy run: | From 7912b7ee8c52b7e46f3289841cf7268db016e76a Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 11:10:06 +0400 Subject: [PATCH 049/103] Update commit.yml --- .github/workflows/commit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index a9612640ae3..0075af5a2c4 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -34,7 +34,7 @@ jobs: git config --global user.name "maya-trenser" git config --global user.email "maya.mohan@trenser.com" git commit -a -m "publishing viewer" - git push + git push origin https://maya-trenser:${{ secrets.GITHUB_TOKEN }}@github.com/maya-trenser.github.io test: runs-on: ubuntu-latest From 50b6c05770a33ae11e9120f5ec42f59a5a9dd660 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 11:11:23 +0400 Subject: [PATCH 050/103] Update commit.yml --- .github/workflows/commit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 0075af5a2c4..f5140c998a1 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -32,7 +32,7 @@ jobs: ls -a ./maya-trenser.github.io cd ./maya-trenser.github.io git config --global user.name "maya-trenser" - git config --global user.email "maya.mohan@trenser.com" + git config --global user.email "maya-trenser:${{ secrets.GITHUB_TOKEN }}@github.com" git commit -a -m "publishing viewer" git push origin https://maya-trenser:${{ secrets.GITHUB_TOKEN }}@github.com/maya-trenser.github.io From bbf91117605e2d194fded7a52df0621348772500 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 11:14:59 +0400 Subject: [PATCH 051/103] Update commit.yml --- .github/workflows/commit.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index f5140c998a1..e98111af27d 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -20,10 +20,11 @@ jobs: with: repository: maya-trenser/maya-trenser.github.io path: ./maya-trenser.github.io - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ GITHUB_TOKEN }} - name: Copy run: | + echo ${{ secretes.GITHUB_TOKEN }} pwd ls -a ./maya-trenser.github.io mv ./maya-trenser.github.io/.git /tmp/ @@ -34,7 +35,7 @@ jobs: git config --global user.name "maya-trenser" git config --global user.email "maya-trenser:${{ secrets.GITHUB_TOKEN }}@github.com" git commit -a -m "publishing viewer" - git push origin https://maya-trenser:${{ secrets.GITHUB_TOKEN }}@github.com/maya-trenser.github.io + git push origin https://maya-trenser:${{ GITHUB_TOKEN }}@github.com/maya-trenser.github.io test: runs-on: ubuntu-latest From 477d6fbf2f58cb1beb4079ecded9b95eb8be2fec Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 11:16:45 +0400 Subject: [PATCH 052/103] Update commit.yml --- .github/workflows/commit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index e98111af27d..7fc2d7f0c49 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -24,7 +24,7 @@ jobs: - name: Copy run: | - echo ${{ secretes.GITHUB_TOKEN }} + echo ${{ GITHUB_TOKEN }} pwd ls -a ./maya-trenser.github.io mv ./maya-trenser.github.io/.git /tmp/ From bd4e40c33fe85d3010800cc5f99d7c6fa706d671 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 11:23:38 +0400 Subject: [PATCH 053/103] Update commit.yml --- .github/workflows/commit.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 7fc2d7f0c49..7be1e530b7b 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -20,11 +20,11 @@ jobs: with: repository: maya-trenser/maya-trenser.github.io path: ./maya-trenser.github.io - token: ${{ GITHUB_TOKEN }} + token: ${{ Secrets.MY_TOKEN }} - name: Copy run: | - echo ${{ GITHUB_TOKEN }} + echo ${{ Secrets.MY_TOKEN }} pwd ls -a ./maya-trenser.github.io mv ./maya-trenser.github.io/.git /tmp/ @@ -33,9 +33,9 @@ jobs: ls -a ./maya-trenser.github.io cd ./maya-trenser.github.io git config --global user.name "maya-trenser" - git config --global user.email "maya-trenser:${{ secrets.GITHUB_TOKEN }}@github.com" + git config --global user.email "maya-trenser:${{ secrets.Secrets.MY_TOKEN }}@github.com" git commit -a -m "publishing viewer" - git push origin https://maya-trenser:${{ GITHUB_TOKEN }}@github.com/maya-trenser.github.io + git push origin https://maya-trenser:${{ Secrets.MY_TOKEN }}@github.com/maya-trenser.github.io test: runs-on: ubuntu-latest From b45312c0e14fec97dc1c1f11c580221167cc5b95 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 11:24:57 +0400 Subject: [PATCH 054/103] Update commit.yml --- .github/workflows/commit.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 7be1e530b7b..fc9345a10ee 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -20,7 +20,6 @@ jobs: with: repository: maya-trenser/maya-trenser.github.io path: ./maya-trenser.github.io - token: ${{ Secrets.MY_TOKEN }} - name: Copy run: | From 0acfa0bf00c450aca080c1512b6257a2dd19c9c7 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 11:35:09 +0400 Subject: [PATCH 055/103] Update commit.yml --- .github/workflows/commit.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index fc9345a10ee..250b880c944 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -18,6 +18,7 @@ jobs: - name: Checkout gh page uses: actions/checkout@v3 with: + github-server-url: https://maya-trenser:${{ Secrets.MY_TOKEN }}@github.com repository: maya-trenser/maya-trenser.github.io path: ./maya-trenser.github.io @@ -32,9 +33,9 @@ jobs: ls -a ./maya-trenser.github.io cd ./maya-trenser.github.io git config --global user.name "maya-trenser" - git config --global user.email "maya-trenser:${{ secrets.Secrets.MY_TOKEN }}@github.com" + git config --global user.email "maya.mohan@trenser.com" git commit -a -m "publishing viewer" - git push origin https://maya-trenser:${{ Secrets.MY_TOKEN }}@github.com/maya-trenser.github.io + git push test: runs-on: ubuntu-latest From 3e6a4deba0a528669fb60a8ce2f0473327908a3b Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 11:38:21 +0400 Subject: [PATCH 056/103] Update commit.yml --- .github/workflows/commit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 250b880c944..22b27dc2533 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -35,7 +35,7 @@ jobs: git config --global user.name "maya-trenser" git config --global user.email "maya.mohan@trenser.com" git commit -a -m "publishing viewer" - git push + git push origin https://maya-trenser:${{ Secrets.MY_TOKEN }}@github.com/maya-trenser.github.io test: runs-on: ubuntu-latest From c966ae22ed6661ceeb5d92cbbd0568bac9d49547 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 11:39:14 +0400 Subject: [PATCH 057/103] Update commit.yml --- .github/workflows/commit.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 22b27dc2533..42bdac7bfcf 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -32,8 +32,8 @@ jobs: mv /tmp/.git ./maya-trenser.github.io ls -a ./maya-trenser.github.io cd ./maya-trenser.github.io - git config --global user.name "maya-trenser" - git config --global user.email "maya.mohan@trenser.com" + #git config --global user.name "maya-trenser" + #git config --global user.email "maya.mohan@trenser.com" git commit -a -m "publishing viewer" git push origin https://maya-trenser:${{ Secrets.MY_TOKEN }}@github.com/maya-trenser.github.io From 7b0056f43b9c3e39be29a7bbd0341954cac28f25 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 11:40:25 +0400 Subject: [PATCH 058/103] Update commit.yml --- .github/workflows/commit.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 42bdac7bfcf..8831c56b98f 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -32,10 +32,10 @@ jobs: mv /tmp/.git ./maya-trenser.github.io ls -a ./maya-trenser.github.io cd ./maya-trenser.github.io - #git config --global user.name "maya-trenser" - #git config --global user.email "maya.mohan@trenser.com" + git config --global user.name "maya-trenser" + git config --global user.email "maya-trenser:${{ Secrets.MY_TOKEN }}@github.com" git commit -a -m "publishing viewer" - git push origin https://maya-trenser:${{ Secrets.MY_TOKEN }}@github.com/maya-trenser.github.io + #git push origin https://maya-trenser:${{ Secrets.MY_TOKEN }}@github.com/maya-trenser.github.io test: runs-on: ubuntu-latest From a61485bf77e4d457cc4eca9c6ec708175d0d55e5 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 11:44:50 +0400 Subject: [PATCH 059/103] Update commit.yml --- .github/workflows/commit.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 8831c56b98f..6de3940fced 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -35,6 +35,7 @@ jobs: git config --global user.name "maya-trenser" git config --global user.email "maya-trenser:${{ Secrets.MY_TOKEN }}@github.com" git commit -a -m "publishing viewer" + git config --list #git push origin https://maya-trenser:${{ Secrets.MY_TOKEN }}@github.com/maya-trenser.github.io test: From 0bb65b401c11adae5c4df8df9e4108575d613db6 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 11:51:44 +0400 Subject: [PATCH 060/103] Update commit.yml --- .github/workflows/commit.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 6de3940fced..d948240c3f1 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -33,10 +33,12 @@ jobs: ls -a ./maya-trenser.github.io cd ./maya-trenser.github.io git config --global user.name "maya-trenser" - git config --global user.email "maya-trenser:${{ Secrets.MY_TOKEN }}@github.com" + git config --global user.email "maya.mohan@trenser.com" git commit -a -m "publishing viewer" git config --list - #git push origin https://maya-trenser:${{ Secrets.MY_TOKEN }}@github.com/maya-trenser.github.io + git remote set-url origin https://maya-trenser:${{ Secrets.MY_TOKEN }}@github.com/maya-trenser.github.io.git + git config --list + git push test: runs-on: ubuntu-latest From 2cbb9f100470beed9f1a3fae94f93c1044d3b8eb Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 11:53:40 +0400 Subject: [PATCH 061/103] Update commit.yml --- .github/workflows/commit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index d948240c3f1..6f1bc683360 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -36,7 +36,7 @@ jobs: git config --global user.email "maya.mohan@trenser.com" git commit -a -m "publishing viewer" git config --list - git remote set-url origin https://maya-trenser:${{ Secrets.MY_TOKEN }}@github.com/maya-trenser.github.io.git + git remote set-url origin https://maya-trenser:${{ Secrets.MY_TOKEN }}@github.com/maya-trenser.github.io git config --list git push From 522e8c8dab3d91dc5b3736ef6a9cbf83556f9e8f Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 11:55:00 +0400 Subject: [PATCH 062/103] Update commit.yml --- .github/workflows/commit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 6f1bc683360..3a8b433ba4b 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -38,7 +38,7 @@ jobs: git config --list git remote set-url origin https://maya-trenser:${{ Secrets.MY_TOKEN }}@github.com/maya-trenser.github.io git config --list - git push + git push origin test: runs-on: ubuntu-latest From 0b99e0e6df78def299884bcae37b260d4ee85657 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 12:35:48 +0400 Subject: [PATCH 063/103] Create push.yml --- .github/workflows/push.yml | 61 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 .github/workflows/push.yml diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml new file mode 100644 index 00000000000..4d65ad485c9 --- /dev/null +++ b/.github/workflows/push.yml @@ -0,0 +1,61 @@ +#To test commit +name: NodeJS with Webpack + +on: + push: + branches: [ "maya-trenser-action-1" ] + #pull_request: + #branches: [ "master" ] + +permissions: + contents: write + +jobs: + buildCornerstone3D: + runs-on: ubuntu-latest + + steps: + - name: Checkout gh page + uses: actions/checkout@v3 + with: + github-server-url: https://maya-trenser:${{ Secrets.MY_TOKEN }}@github.com + repository: maya-trenser/maya-trenser.github.io + path: ./maya-trenser.github.io + + - name: Copy + run: | + echo ${{ Secrets.MY_TOKEN }} + pwd + ls -a ./maya-trenser.github.io + mv ./maya-trenser.github.io/.git /tmp/ + rm -r ./maya-trenser.github.io/* + mv /tmp/.git ./maya-trenser.github.io + ls -a ./maya-trenser.github.io + cd ./maya-trenser.github.io + #git config --global user.name "maya-trenser" + #git config --global user.email "maya.mohan@trenser.com" + #git commit -a -m "publishing viewer" + #git config --list + #git remote set-url origin https://maya-trenser:${{ Secrets.MY_TOKEN }}@github.com/maya-trenser.github.io + #git config --list + #git push origin + + - name: Deploy to external repository + uses: cpina/github-action-push-to-another-repository@main + env: + API_TOKEN_GITHUB: ${{ secrets.MY_TOKEN }} + + with: + source-directory: .Viewers/platform/app/assets + destination-github-username: maya-ytrenser + destination-repository-name: maya-trenser/maya-trenser.github.io + user-email: maya.mohan@trenser.com + + test: + runs-on: ubuntu-latest + needs: + buildCornerstone3D + steps: + - name: echooo + run: | + echo "If you can read this, succeeded" From d9a8064658d62e193cdd6547ed3b20d464cacb30 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 12:36:51 +0400 Subject: [PATCH 064/103] Update commit.yml --- .github/workflows/commit.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 3a8b433ba4b..d2cccc1d09c 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -2,8 +2,8 @@ name: NodeJS with Webpack on: - push: - branches: [ "maya-trenser-action-1" ] + #push: + #branches: [ "maya-trenser-action-1" ] #pull_request: #branches: [ "master" ] From 8912a84e0727be1f53e051f8ccf3c48f5e63b0e8 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 12:38:03 +0400 Subject: [PATCH 065/103] Update push.yml --- .github/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 4d65ad485c9..5a17e2fd10d 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -47,7 +47,7 @@ jobs: with: source-directory: .Viewers/platform/app/assets - destination-github-username: maya-ytrenser + destination-github-username: maya-trenser destination-repository-name: maya-trenser/maya-trenser.github.io user-email: maya.mohan@trenser.com From 8af708b6f8fcfb2ef6a3df272d9b35aec6151fbe Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 12:42:40 +0400 Subject: [PATCH 066/103] Update push.yml --- .github/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 5a17e2fd10d..f82b53a83a6 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -48,7 +48,7 @@ jobs: with: source-directory: .Viewers/platform/app/assets destination-github-username: maya-trenser - destination-repository-name: maya-trenser/maya-trenser.github.io + destination-repository-name: maya-trenser.github.io user-email: maya.mohan@trenser.com test: From 0d88608743fda1ff3c712544fa899da4811228cc Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 12:45:36 +0400 Subject: [PATCH 067/103] Update push.yml --- .github/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index f82b53a83a6..ecf405aa2ec 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -31,7 +31,7 @@ jobs: rm -r ./maya-trenser.github.io/* mv /tmp/.git ./maya-trenser.github.io ls -a ./maya-trenser.github.io - cd ./maya-trenser.github.io + #cd ./maya-trenser.github.io #git config --global user.name "maya-trenser" #git config --global user.email "maya.mohan@trenser.com" #git commit -a -m "publishing viewer" From c94257e70a1316634c9a6a7e5501400581821ad3 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 13:31:51 +0400 Subject: [PATCH 068/103] Update push.yml --- .github/workflows/push.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index ecf405aa2ec..b940268e60e 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -39,6 +39,12 @@ jobs: #git remote set-url origin https://maya-trenser:${{ Secrets.MY_TOKEN }}@github.com/maya-trenser.github.io #git config --list #git push origin + + - name: Checkout viewer + uses: actions/checkout@v3 + with: + repository: maya-trenser/Viewers + path: ./Viewers - name: Deploy to external repository uses: cpina/github-action-push-to-another-repository@main From b077ee4c513cd2ced464c3eebcebfe2dd4cd30b1 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 13:42:13 +0400 Subject: [PATCH 069/103] Update push.yml --- .github/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index b940268e60e..c2d908deb25 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -52,7 +52,7 @@ jobs: API_TOKEN_GITHUB: ${{ secrets.MY_TOKEN }} with: - source-directory: .Viewers/platform/app/assets + source-directory: platform/app/assets destination-github-username: maya-trenser destination-repository-name: maya-trenser.github.io user-email: maya.mohan@trenser.com From a5a8b191d884a08c6df38d6b4e8c2312af1999d5 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 13:43:54 +0400 Subject: [PATCH 070/103] Update push.yml --- .github/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index c2d908deb25..f9ccb5c9238 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -52,7 +52,7 @@ jobs: API_TOKEN_GITHUB: ${{ secrets.MY_TOKEN }} with: - source-directory: platform/app/assets + source-directory: /platform/app/assets destination-github-username: maya-trenser destination-repository-name: maya-trenser.github.io user-email: maya.mohan@trenser.com From 2903c3246d61435d407a05e58eb31c213b778f95 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 13:55:29 +0400 Subject: [PATCH 071/103] Update push.yml --- .github/workflows/push.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index f9ccb5c9238..19a0095d4b0 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -45,6 +45,9 @@ jobs: with: repository: maya-trenser/Viewers path: ./Viewers + + - name: sample + run: pwd - name: Deploy to external repository uses: cpina/github-action-push-to-another-repository@main @@ -52,7 +55,7 @@ jobs: API_TOKEN_GITHUB: ${{ secrets.MY_TOKEN }} with: - source-directory: /platform/app/assets + source-directory: platform/app destination-github-username: maya-trenser destination-repository-name: maya-trenser.github.io user-email: maya.mohan@trenser.com From e420f6ddbe4a5bae3978b161977fcee5bd32fdec Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 13:57:10 +0400 Subject: [PATCH 072/103] Update push.yml --- .github/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 19a0095d4b0..55cb3a2e5e4 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -55,7 +55,7 @@ jobs: API_TOKEN_GITHUB: ${{ secrets.MY_TOKEN }} with: - source-directory: platform/app + source-directory: Viewers/platform/app destination-github-username: maya-trenser destination-repository-name: maya-trenser.github.io user-email: maya.mohan@trenser.com From 4f84f2891ea5dd223336b456afa0265f514e10af Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 14:00:22 +0400 Subject: [PATCH 073/103] Update push.yml --- .github/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 55cb3a2e5e4..9da93ff9ab3 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -56,7 +56,7 @@ jobs: with: source-directory: Viewers/platform/app - destination-github-username: maya-trenser + destination-github-username: maya-trenser:${{ secrets.MY_TOKEN }}@github.com destination-repository-name: maya-trenser.github.io user-email: maya.mohan@trenser.com From 66fcb7c2d07e3e617e73a0d52804946f7af14eff Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 14:01:31 +0400 Subject: [PATCH 074/103] Update push.yml --- .github/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 9da93ff9ab3..55cb3a2e5e4 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -56,7 +56,7 @@ jobs: with: source-directory: Viewers/platform/app - destination-github-username: maya-trenser:${{ secrets.MY_TOKEN }}@github.com + destination-github-username: maya-trenser destination-repository-name: maya-trenser.github.io user-email: maya.mohan@trenser.com From 303263986e3a30950f2e0b44a067a372d767d6dd Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 14:04:24 +0400 Subject: [PATCH 075/103] Update push.yml --- .github/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 55cb3a2e5e4..ea82c5d3a1f 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -50,7 +50,7 @@ jobs: run: pwd - name: Deploy to external repository - uses: cpina/github-action-push-to-another-repository@main + uses: cpina/github-action-push-to-another-repository@v2 env: API_TOKEN_GITHUB: ${{ secrets.MY_TOKEN }} From 9b023942d6931c5940db89d59ca8e4c2fe798389 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 14:06:30 +0400 Subject: [PATCH 076/103] Update push.yml --- .github/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index ea82c5d3a1f..870b61e0a3b 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -50,7 +50,7 @@ jobs: run: pwd - name: Deploy to external repository - uses: cpina/github-action-push-to-another-repository@v2 + uses: cpina/github-action-push-to-another-repository@v3 env: API_TOKEN_GITHUB: ${{ secrets.MY_TOKEN }} From 503c9398d2b954ff93f2f76031456d4d84f3797b Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 14:08:53 +0400 Subject: [PATCH 077/103] Update push.yml --- .github/workflows/push.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 870b61e0a3b..79c5d728e4d 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -24,7 +24,7 @@ jobs: - name: Copy run: | - echo ${{ Secrets.MY_TOKEN }} + echo ${{ GITHUB_TOKEN }} pwd ls -a ./maya-trenser.github.io mv ./maya-trenser.github.io/.git /tmp/ @@ -50,9 +50,9 @@ jobs: run: pwd - name: Deploy to external repository - uses: cpina/github-action-push-to-another-repository@v3 + uses: cpina/github-action-push-to-another-repository@main env: - API_TOKEN_GITHUB: ${{ secrets.MY_TOKEN }} + API_TOKEN_GITHUB: ${{ GITHUB_TOKEN }} with: source-directory: Viewers/platform/app From 2b6760a257fe54e273ec72706a0eb7b55124e2ab Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 14:15:48 +0400 Subject: [PATCH 078/103] Update push.yml --- .github/workflows/push.yml | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 79c5d728e4d..175828cd3a6 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -24,7 +24,7 @@ jobs: - name: Copy run: | - echo ${{ GITHUB_TOKEN }} + echo ${{ Secrets.MY_TOKEN }} pwd ls -a ./maya-trenser.github.io mv ./maya-trenser.github.io/.git /tmp/ @@ -48,17 +48,29 @@ jobs: - name: sample run: pwd - - - name: Deploy to external repository - uses: cpina/github-action-push-to-another-repository@main - env: - API_TOKEN_GITHUB: ${{ GITHUB_TOKEN }} + - name: Pushes test file + uses: dmnemec/copy_file_to_another_repo_action@main + env: + API_TOKEN_GITHUB: ${{ secrets.MY_TOKEN }} with: - source-directory: Viewers/platform/app - destination-github-username: maya-trenser - destination-repository-name: maya-trenser.github.io - user-email: maya.mohan@trenser.com + source_file: Viewers/platform/app + destination_repo: 'maya-trenser/maya-trenser.github.io' + #destination_folder: 'test-dir' + user_email: 'maya.mohan@trenser.com' + user_name: 'maya-trenser' + commit_message: 'A custom message for the commit' + + #- name: Deploy to external repository + # uses: cpina/github-action-push-to-another-repository@main + # env: + # API_TOKEN_GITHUB: ${{ GITHUB_TOKEN }} +# + # with: + # source-directory: Viewers/platform/app + # destination-github-username: maya-trenser + # destination-repository-name: maya-trenser.github.io + # user-email: maya.mohan@trenser.com test: runs-on: ubuntu-latest From e8121585283c106d9be9993b445fdd3e06d24ed9 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 14:19:42 +0400 Subject: [PATCH 079/103] Update push.yml --- .github/workflows/push.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 175828cd3a6..5d44fff9878 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -2,8 +2,8 @@ name: NodeJS with Webpack on: - push: - branches: [ "maya-trenser-action-1" ] + #push: + #branches: [ "maya-trenser-action-1" ] #pull_request: #branches: [ "master" ] From c9e967460f756dc958490b0a033e44009d7982ae Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 14:20:36 +0400 Subject: [PATCH 080/103] Update commit.yml --- .github/workflows/commit.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index d2cccc1d09c..3a8b433ba4b 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -2,8 +2,8 @@ name: NodeJS with Webpack on: - #push: - #branches: [ "maya-trenser-action-1" ] + push: + branches: [ "maya-trenser-action-1" ] #pull_request: #branches: [ "master" ] From 40f2ac0b7fcc6d60f2e8dbe83aba5d9c818b64b0 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 14:23:16 +0400 Subject: [PATCH 081/103] Update commit.yml --- .github/workflows/commit.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 3a8b433ba4b..883f06c07d8 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -36,9 +36,9 @@ jobs: git config --global user.email "maya.mohan@trenser.com" git commit -a -m "publishing viewer" git config --list - git remote set-url origin https://maya-trenser:${{ Secrets.MY_TOKEN }}@github.com/maya-trenser.github.io - git config --list - git push origin + #git remote set-url origin https://maya-trenser:${{ Secrets.MY_TOKEN }}@github.com/maya-trenser.github.io + #git config --list + git push test: runs-on: ubuntu-latest From fde9621024a104bf14a5fe77f5cb9ca152e91d62 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 14:28:04 +0400 Subject: [PATCH 082/103] Update commit.yml --- .github/workflows/commit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 883f06c07d8..c3d91d26fa5 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -38,7 +38,7 @@ jobs: git config --list #git remote set-url origin https://maya-trenser:${{ Secrets.MY_TOKEN }}@github.com/maya-trenser.github.io #git config --list - git push + git push -u origin test: runs-on: ubuntu-latest From 1dca7995a03110dbbab59a7ad6967fb8a1407fee Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 14:31:11 +0400 Subject: [PATCH 083/103] Update commit.yml --- .github/workflows/commit.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index c3d91d26fa5..c7eced3abbc 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -18,13 +18,13 @@ jobs: - name: Checkout gh page uses: actions/checkout@v3 with: - github-server-url: https://maya-trenser:${{ Secrets.MY_TOKEN }}@github.com + github-server-url: https://maya-trenser:${{ secrets.MY_TOKEN }}@github.com repository: maya-trenser/maya-trenser.github.io path: ./maya-trenser.github.io - name: Copy run: | - echo ${{ Secrets.MY_TOKEN }} + echo ${{ secrets.MY_TOKEN }} pwd ls -a ./maya-trenser.github.io mv ./maya-trenser.github.io/.git /tmp/ @@ -36,7 +36,7 @@ jobs: git config --global user.email "maya.mohan@trenser.com" git commit -a -m "publishing viewer" git config --list - #git remote set-url origin https://maya-trenser:${{ Secrets.MY_TOKEN }}@github.com/maya-trenser.github.io + #git remote set-url origin https://maya-trenser:${{ secrets.MY_TOKEN }}@github.com/maya-trenser.github.io #git config --list git push -u origin From 7941ca30570375bc74c99a244e5deec95341eb30 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 14:36:09 +0400 Subject: [PATCH 084/103] Update commit.yml --- .github/workflows/commit.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index c7eced3abbc..087026b99df 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -18,9 +18,10 @@ jobs: - name: Checkout gh page uses: actions/checkout@v3 with: - github-server-url: https://maya-trenser:${{ secrets.MY_TOKEN }}@github.com + #github-server-url: https://maya-trenser:${{ secrets.MY_TOKEN }}@github.com repository: maya-trenser/maya-trenser.github.io path: ./maya-trenser.github.io + token: ${{ secrets.MY_TOKEN }} - name: Copy run: | From 33bb7c57ece80ddf3e240bc625c0fbe6bedccd24 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 14:38:03 +0400 Subject: [PATCH 085/103] Update commit.yml --- .github/workflows/commit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 087026b99df..77d428726a0 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -21,7 +21,7 @@ jobs: #github-server-url: https://maya-trenser:${{ secrets.MY_TOKEN }}@github.com repository: maya-trenser/maya-trenser.github.io path: ./maya-trenser.github.io - token: ${{ secrets.MY_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} - name: Copy run: | From 3e2219ee5cb84cf66aad333bbac4801e16cde23b Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 14:38:54 +0400 Subject: [PATCH 086/103] Update commit.yml --- .github/workflows/commit.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 77d428726a0..b1ba2a07edf 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -25,7 +25,7 @@ jobs: - name: Copy run: | - echo ${{ secrets.MY_TOKEN }} + echo ${{ secrets.GITHUB_TOKEN }} pwd ls -a ./maya-trenser.github.io mv ./maya-trenser.github.io/.git /tmp/ @@ -37,7 +37,7 @@ jobs: git config --global user.email "maya.mohan@trenser.com" git commit -a -m "publishing viewer" git config --list - #git remote set-url origin https://maya-trenser:${{ secrets.MY_TOKEN }}@github.com/maya-trenser.github.io + #git remote set-url origin https://maya-trenser:${{ secrets.GITHUB_TOKEN }}@github.com/maya-trenser.github.io #git config --list git push -u origin From 95064ac892301300d0cdf7f5c416cadf461b803f Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 14:41:21 +0400 Subject: [PATCH 087/103] Update commit.yml --- .github/workflows/commit.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index b1ba2a07edf..78a34b71a99 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -35,10 +35,12 @@ jobs: cd ./maya-trenser.github.io git config --global user.name "maya-trenser" git config --global user.email "maya.mohan@trenser.com" - git commit -a -m "publishing viewer" git config --list #git remote set-url origin https://maya-trenser:${{ secrets.GITHUB_TOKEN }}@github.com/maya-trenser.github.io #git config --list + git remote set-url origin https://maya-trenser:${{ secrets.GITHUB_TOKEN }}@github.com/maya-trenser.github.io + git checkout "${GITHUB_REF:11}" + git commit -a -m "publishing viewer" git push -u origin test: From 856ce43533a293a57c2bbcb46bf7d8323d31083d Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 14:43:16 +0400 Subject: [PATCH 088/103] Update commit.yml --- .github/workflows/commit.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 78a34b71a99..d2ccea77102 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -39,7 +39,8 @@ jobs: #git remote set-url origin https://maya-trenser:${{ secrets.GITHUB_TOKEN }}@github.com/maya-trenser.github.io #git config --list git remote set-url origin https://maya-trenser:${{ secrets.GITHUB_TOKEN }}@github.com/maya-trenser.github.io - git checkout "${GITHUB_REF:11}" + git config --list + #git checkout "${GITHUB_REF:11}" git commit -a -m "publishing viewer" git push -u origin From 3e610a9b648bb9cc669ed93ae52b370c33a4f22e Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 14:46:44 +0400 Subject: [PATCH 089/103] Update commit.yml --- .github/workflows/commit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index d2ccea77102..64bcee72ea6 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -38,7 +38,7 @@ jobs: git config --list #git remote set-url origin https://maya-trenser:${{ secrets.GITHUB_TOKEN }}@github.com/maya-trenser.github.io #git config --list - git remote set-url origin https://maya-trenser:${{ secrets.GITHUB_TOKEN }}@github.com/maya-trenser.github.io + git remote set-url origin https://maya-trenser:${{ secrets.GITHUB_TOKEN }}@github.com/maya-trenser/maya-trenser.github.io git config --list #git checkout "${GITHUB_REF:11}" git commit -a -m "publishing viewer" From d9665081667e9c81969cefd358b20984077bb6ed Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 15:04:04 +0400 Subject: [PATCH 090/103] Update commit.yml --- .github/workflows/commit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 64bcee72ea6..f9f186d3510 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -32,7 +32,7 @@ jobs: rm -r ./maya-trenser.github.io/* mv /tmp/.git ./maya-trenser.github.io ls -a ./maya-trenser.github.io - cd ./maya-trenser.github.io + #cd ./maya-trenser.github.io git config --global user.name "maya-trenser" git config --global user.email "maya.mohan@trenser.com" git config --list From 095f16a91c5ebbbf04bc0d49558d5c2036881b53 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 15:07:07 +0400 Subject: [PATCH 091/103] Update commit.yml --- .github/workflows/commit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index f9f186d3510..64bcee72ea6 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -32,7 +32,7 @@ jobs: rm -r ./maya-trenser.github.io/* mv /tmp/.git ./maya-trenser.github.io ls -a ./maya-trenser.github.io - #cd ./maya-trenser.github.io + cd ./maya-trenser.github.io git config --global user.name "maya-trenser" git config --global user.email "maya.mohan@trenser.com" git config --list From eea8193fc149bc0b79d82f49b4a6ceed18eefcf8 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 15:09:14 +0400 Subject: [PATCH 092/103] Update commit.yml --- .github/workflows/commit.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 64bcee72ea6..c41c947ec3a 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -25,7 +25,7 @@ jobs: - name: Copy run: | - echo ${{ secrets.GITHUB_TOKEN }} + echo ${{ secrets.MY_TOKEN }} pwd ls -a ./maya-trenser.github.io mv ./maya-trenser.github.io/.git /tmp/ @@ -38,7 +38,7 @@ jobs: git config --list #git remote set-url origin https://maya-trenser:${{ secrets.GITHUB_TOKEN }}@github.com/maya-trenser.github.io #git config --list - git remote set-url origin https://maya-trenser:${{ secrets.GITHUB_TOKEN }}@github.com/maya-trenser/maya-trenser.github.io + git remote set-url origin https://maya-trenser:${{ secrets.MY_TOKEN }}@github.com/maya-trenser/maya-trenser.github.io git config --list #git checkout "${GITHUB_REF:11}" git commit -a -m "publishing viewer" From 29c1402f2ffd08565b1bc6bf85c6e1bc1a6f9f9a Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 15:10:04 +0400 Subject: [PATCH 093/103] Update commit.yml --- .github/workflows/commit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index c41c947ec3a..d544ef14b25 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -25,7 +25,7 @@ jobs: - name: Copy run: | - echo ${{ secrets.MY_TOKEN }} + #echo ${{ secrets.MY_TOKEN }} pwd ls -a ./maya-trenser.github.io mv ./maya-trenser.github.io/.git /tmp/ From 8660d831f199897d4c272007e98bb6c196fec340 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Tue, 26 Sep 2023 15:30:10 +0400 Subject: [PATCH 094/103] Update commit.yml --- .github/workflows/commit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index d544ef14b25..aa3101a2508 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -21,7 +21,7 @@ jobs: #github-server-url: https://maya-trenser:${{ secrets.MY_TOKEN }}@github.com repository: maya-trenser/maya-trenser.github.io path: ./maya-trenser.github.io - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.MY_TOKEN }} - name: Copy run: | From d0dd5c37e900e875aad97c3acb907636a1ee4906 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Wed, 27 Sep 2023 07:40:58 +0400 Subject: [PATCH 095/103] Update commit.yml --- .github/workflows/commit.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index aa3101a2508..69666846463 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -2,8 +2,8 @@ name: NodeJS with Webpack on: - push: - branches: [ "maya-trenser-action-1" ] + #push: + #branches: [ "maya-trenser-action-1" ] #pull_request: #branches: [ "master" ] From 9f7e5c15870418c4648af4bbdd509c474f788781 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Wed, 27 Sep 2023 07:41:30 +0400 Subject: [PATCH 096/103] Update test.yml --- .github/workflows/test.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 052878c9844..4af87946bf0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,8 +1,8 @@ name: NodeJS with Webpack on: - #push: - #branches: [ "maya-trenser-action-1" ] + push: + branches: [ "maya-trenser-action-1" ] #pull_request: #branches: [ "master" ] @@ -53,6 +53,7 @@ jobs: with: repository: maya-trenser/maya-trenser.github.io path: ./maya-trenser.github.io + token: ${{ secrets.MY_TOKEN }} - name: Copy run: | @@ -68,8 +69,9 @@ jobs: cd ./maya-trenser.github.io git config --global user.name "maya-trenser" git config --global user.email "maya.mohan@trenser.com" + git remote set-url origin https://maya-trenser:${{ secrets.MY_TOKEN }}@github.com/maya-trenser/maya-trenser.github.io git commit -a -m "publishing viewer" - git push + git push -u origin test: runs-on: ubuntu-latest From a3cd9e94ce92564f879d9a65446b0f5d98ee75ef Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Wed, 27 Sep 2023 07:59:10 +0400 Subject: [PATCH 097/103] Update test.yml --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4af87946bf0..fc20c86fc59 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -60,7 +60,7 @@ jobs: pwd ls -a ./maya-trenser.github.io mv ./maya-trenser.github.io/.git /tmp/ - rm -r ./maya-trenser.github.io/* + #rm -r ./maya-trenser.github.io/* mv /tmp/.git ./maya-trenser.github.io ls -a ./maya-trenser.github.io ls -a ./Viewers/platform/app/dist/ From 9616fff3db890d97556b84c8bf43cb315d8993d7 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Wed, 27 Sep 2023 08:15:52 +0400 Subject: [PATCH 098/103] Update test.yml --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fc20c86fc59..44b18e7cbd9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -70,6 +70,7 @@ jobs: git config --global user.name "maya-trenser" git config --global user.email "maya.mohan@trenser.com" git remote set-url origin https://maya-trenser:${{ secrets.MY_TOKEN }}@github.com/maya-trenser/maya-trenser.github.io + git add . git commit -a -m "publishing viewer" git push -u origin From 097af5a8f6bfca1dfb0bd8fe82a69f1350933ad1 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Wed, 27 Sep 2023 08:29:34 +0400 Subject: [PATCH 099/103] Update test.yml --- .github/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 44b18e7cbd9..8d5a210638a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -60,11 +60,11 @@ jobs: pwd ls -a ./maya-trenser.github.io mv ./maya-trenser.github.io/.git /tmp/ - #rm -r ./maya-trenser.github.io/* - mv /tmp/.git ./maya-trenser.github.io - ls -a ./maya-trenser.github.io - ls -a ./Viewers/platform/app/dist/ + rm -r ./maya-trenser.github.io + #ls -a ./maya-trenser.github.io + #ls -a ./Viewers/platform/app/dist/ cp -r ./Viewers/platform/app/dist/ ./maya-trenser.github.io + mv /tmp/.git ./maya-trenser.github.io ls -a ./maya-trenser.github.io cd ./maya-trenser.github.io git config --global user.name "maya-trenser" From c6b3634fd76f7e69e234d289f51819dd72dfa704 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Wed, 27 Sep 2023 08:45:53 +0400 Subject: [PATCH 100/103] Update test.yml --- .github/workflows/test.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8d5a210638a..8c2ab6eb4bd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,11 +40,28 @@ jobs: - name: Link run: | + #cd ./cornerstone3D/packages/dicomImageLoader/dist + #pwd + #yarn link + cd ./cornerstone3D/packages/adapters/dist + yarn link + cd ./cornerstone3D/packages/core/dist + yarn link cd ./cornerstone3D/packages/dicomImageLoader/dist - pwd + yarn link + cd ./cornerstone3D/packages/nifti-volume-loader/dist + yarn link + cd ./cornerstone3D/packages/streaming-image-volume-loader/dist + yarn link + cd ./cornerstone3D/packages/tools/dist yarn link cd ../../../../Viewers + yarn link @cornerstonejs/adapters + yarn link @cornerstonejs/core yarn link @cornerstonejs/dicom-image-loader + yarn link @cornerstonejs/nifti-volume-loader + yarn link @cornerstonejs/streaming-image-volume-loader + yarn link @cornerstonejs/tools yarn install yarn run build From 56a3cc7f0f6bb1e4ca0df8abedb3c08afbd0fce9 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Wed, 27 Sep 2023 08:59:15 +0400 Subject: [PATCH 101/103] Update test.yml --- .github/workflows/test.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8c2ab6eb4bd..d7959a8eb42 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -45,15 +45,15 @@ jobs: #yarn link cd ./cornerstone3D/packages/adapters/dist yarn link - cd ./cornerstone3D/packages/core/dist + cd ../../core/dist yarn link - cd ./cornerstone3D/packages/dicomImageLoader/dist + cd ../../dicomImageLoader/dist yarn link - cd ./cornerstone3D/packages/nifti-volume-loader/dist + cd ../../nifti-volume-loader/dist yarn link - cd ./cornerstone3D/packages/streaming-image-volume-loader/dist + cd ../../streaming-image-volume-loader/dist yarn link - cd ./cornerstone3D/packages/tools/dist + cd ../../tools/dist yarn link cd ../../../../Viewers yarn link @cornerstonejs/adapters From eb2b07b47badd27796a7787a67fc4ebf2e343cfb Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Wed, 27 Sep 2023 09:22:37 +0400 Subject: [PATCH 102/103] Update test.yml --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d7959a8eb42..62b94ae5db6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -49,8 +49,8 @@ jobs: yarn link cd ../../dicomImageLoader/dist yarn link - cd ../../nifti-volume-loader/dist - yarn link + #cd ../../nifti-volume-loader/dist + #yarn link cd ../../streaming-image-volume-loader/dist yarn link cd ../../tools/dist From 8a59aad623764275a34789f65be0e863797eb874 Mon Sep 17 00:00:00 2001 From: maya-trenser <95024587+maya-trenser@users.noreply.github.com> Date: Wed, 27 Sep 2023 09:34:43 +0400 Subject: [PATCH 103/103] Update test.yml --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 62b94ae5db6..b80a85cbf39 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -59,7 +59,7 @@ jobs: yarn link @cornerstonejs/adapters yarn link @cornerstonejs/core yarn link @cornerstonejs/dicom-image-loader - yarn link @cornerstonejs/nifti-volume-loader + #yarn link @cornerstonejs/nifti-volume-loader yarn link @cornerstonejs/streaming-image-volume-loader yarn link @cornerstonejs/tools yarn install