From ed38f3154f19b6c1c12dcde1028803028ab70305 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 <88317906+prudhviraj-500@users.noreply.github.com> Date: Mon, 29 Nov 2021 11:33:45 +0530 Subject: [PATCH 01/48] Create main.yml --- .github/workflows/main.yml | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..eadd16fd --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,39 @@ + +name: +on: + pull_request: + types: [closed] + branches: + - infinity-new-feature + +jobs: + build: + if: | + github.event.pull_request.merged == true + runs-on: ubuntu-20.04 + env: + BRANCH_NAME: ${{ github.head.ref }} + + steps: + - name: branch name + id: branch + run: | + feature=$(echo "${{ env.BRANCH_NAME}}" | cut -d "-" -f 3) + echo "::set-output name=feature_name::$feature" + + + + - name: building infinity + run: | + yarn install + yarn build + shell: bash + + - name: creating index.html versioning i.e index- + run: | + cp dist/index.html dist/index-feature-${{ steps.branch.outputs.feature_name }} + shell: bash + + + + From ea30b735bfb1f3eff4696793d67c67873e09a82f Mon Sep 17 00:00:00 2001 From: prudhviraj-500 Date: Mon, 29 Nov 2021 11:36:17 +0530 Subject: [PATCH 02/48] he --- ee | 1 + 1 file changed, 1 insertion(+) create mode 100644 ee diff --git a/ee b/ee new file mode 100644 index 00000000..902d5ded --- /dev/null +++ b/ee @@ -0,0 +1 @@ +dddd \ No newline at end of file From 7609e4e6200cb4bc87c9df8114f86f05812d3e9d Mon Sep 17 00:00:00 2001 From: prudhviraj-500 <88317906+prudhviraj-500@users.noreply.github.com> Date: Mon, 29 Nov 2021 11:37:33 +0530 Subject: [PATCH 03/48] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index eadd16fd..25fbe2af 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,7 +4,7 @@ on: pull_request: types: [closed] branches: - - infinity-new-feature + - master jobs: build: From 8b01ecd8dcfdb410d10e797af5e4efb08601ecf3 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 Date: Mon, 29 Nov 2021 11:37:56 +0530 Subject: [PATCH 04/48] he --- ee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee b/ee index 902d5ded..492fecfa 100644 --- a/ee +++ b/ee @@ -1 +1 @@ -dddd \ No newline at end of file +ddddd \ No newline at end of file From 2a237e6d0de7dbe08ce70f5597baf14f8e889047 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 <88317906+prudhviraj-500@users.noreply.github.com> Date: Mon, 29 Nov 2021 11:42:41 +0530 Subject: [PATCH 05/48] Update main.yml --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 25fbe2af..6bc6dce5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,12 +26,12 @@ jobs: - name: building infinity run: | yarn install - yarn build + # yarn build shell: bash - name: creating index.html versioning i.e index- run: | - cp dist/index.html dist/index-feature-${{ steps.branch.outputs.feature_name }} + cp public/index.html public/index-feature-${{ steps.branch.outputs.feature_name }} shell: bash From f6515bd0a0fb9a8b6593a7c62e7b05cc5fa547ae Mon Sep 17 00:00:00 2001 From: prudhviraj-500 Date: Mon, 29 Nov 2021 11:42:56 +0530 Subject: [PATCH 06/48] he --- ee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee b/ee index 492fecfa..88f05950 100644 --- a/ee +++ b/ee @@ -1 +1 @@ -ddddd \ No newline at end of file +dddddd \ No newline at end of file From 8041ede3094e8701d1d95cf07e712417a9eee3fc Mon Sep 17 00:00:00 2001 From: prudhviraj-500 <88317906+prudhviraj-500@users.noreply.github.com> Date: Mon, 29 Nov 2021 11:47:37 +0530 Subject: [PATCH 07/48] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6bc6dce5..336c39a5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,7 @@ jobs: github.event.pull_request.merged == true runs-on: ubuntu-20.04 env: - BRANCH_NAME: ${{ github.head.ref }} + BRANCH_NAME: ${{ github.head_ref }} steps: - name: branch name From 1fa6985cab4a34a636d0b689e752f48b62ca801b Mon Sep 17 00:00:00 2001 From: prudhviraj-500 Date: Mon, 29 Nov 2021 11:48:07 +0530 Subject: [PATCH 08/48] he --- ee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee b/ee index 88f05950..e21400a6 100644 --- a/ee +++ b/ee @@ -1 +1 @@ -dddddd \ No newline at end of file +dddddds \ No newline at end of file From bb724f4d0786033734d15cbbe0a0c300e711bbfe Mon Sep 17 00:00:00 2001 From: prudhviraj-500 <88317906+prudhviraj-500@users.noreply.github.com> Date: Mon, 29 Nov 2021 11:57:33 +0530 Subject: [PATCH 09/48] Update main.yml --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 336c39a5..edd71e3e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,6 +20,7 @@ jobs: run: | feature=$(echo "${{ env.BRANCH_NAME}}" | cut -d "-" -f 3) echo "::set-output name=feature_name::$feature" + echo "$feature" From effb8fb4acc0b7f8eab8d6f982b4228286725c41 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 Date: Mon, 29 Nov 2021 11:57:47 +0530 Subject: [PATCH 10/48] he --- ee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee b/ee index e21400a6..7bd22d88 100644 --- a/ee +++ b/ee @@ -1 +1 @@ -dddddds \ No newline at end of file +ddddddsd \ No newline at end of file From ae645f3fccd8c9e66b3ee631e6ffd4d608522bf7 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 <88317906+prudhviraj-500@users.noreply.github.com> Date: Mon, 29 Nov 2021 12:04:35 +0530 Subject: [PATCH 11/48] Update main.yml --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index edd71e3e..88c96e75 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,12 +27,12 @@ jobs: - name: building infinity run: | yarn install - # yarn build + yarn run build shell: bash - name: creating index.html versioning i.e index- run: | - cp public/index.html public/index-feature-${{ steps.branch.outputs.feature_name }} + cp /public/index.html /public/index-feature-${{ steps.branch.outputs.feature_name }} shell: bash From f3a661497e09c64d2bc3465100aff0dc87ba482e Mon Sep 17 00:00:00 2001 From: prudhviraj-500 Date: Mon, 29 Nov 2021 12:04:53 +0530 Subject: [PATCH 12/48] he --- ee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee b/ee index 7bd22d88..27204d48 100644 --- a/ee +++ b/ee @@ -1 +1 @@ -ddddddsd \ No newline at end of file +ddddddsdd \ No newline at end of file From 689f22f5739a3356d6a62a97f6317bac4f89ed9b Mon Sep 17 00:00:00 2001 From: prudhviraj-500 <88317906+prudhviraj-500@users.noreply.github.com> Date: Mon, 29 Nov 2021 12:06:04 +0530 Subject: [PATCH 13/48] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 88c96e75..7c70aae4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,7 +27,7 @@ jobs: - name: building infinity run: | yarn install - yarn run build + # yarn run build shell: bash - name: creating index.html versioning i.e index- From 06cc05dd6b4acb765eb6c12040683ca69ab69edc Mon Sep 17 00:00:00 2001 From: prudhviraj-500 Date: Mon, 29 Nov 2021 12:06:14 +0530 Subject: [PATCH 14/48] he --- ee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee b/ee index 27204d48..4dc5d876 100644 --- a/ee +++ b/ee @@ -1 +1 @@ -ddddddsdd \ No newline at end of file +ddddddsddd \ No newline at end of file From fc838bd3c40df2be40046bb0c48b30ffcb38f47d Mon Sep 17 00:00:00 2001 From: prudhviraj-500 <88317906+prudhviraj-500@users.noreply.github.com> Date: Mon, 29 Nov 2021 12:08:27 +0530 Subject: [PATCH 15/48] Delete main.yml --- .github/workflows/main.yml | 40 -------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 7c70aae4..00000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,40 +0,0 @@ - -name: -on: - pull_request: - types: [closed] - branches: - - master - -jobs: - build: - if: | - github.event.pull_request.merged == true - runs-on: ubuntu-20.04 - env: - BRANCH_NAME: ${{ github.head_ref }} - - steps: - - name: branch name - id: branch - run: | - feature=$(echo "${{ env.BRANCH_NAME}}" | cut -d "-" -f 3) - echo "::set-output name=feature_name::$feature" - echo "$feature" - - - - - name: building infinity - run: | - yarn install - # yarn run build - shell: bash - - - name: creating index.html versioning i.e index- - run: | - cp /public/index.html /public/index-feature-${{ steps.branch.outputs.feature_name }} - shell: bash - - - - From 8e5c5160334ca6afbea2dfa79fed865832151da5 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 <88317906+prudhviraj-500@users.noreply.github.com> Date: Mon, 29 Nov 2021 12:09:01 +0530 Subject: [PATCH 16/48] Create main.yml --- .github/workflows/deploy/main.yml | 34 +++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/deploy/main.yml diff --git a/.github/workflows/deploy/main.yml b/.github/workflows/deploy/main.yml new file mode 100644 index 00000000..9dcce12f --- /dev/null +++ b/.github/workflows/deploy/main.yml @@ -0,0 +1,34 @@ +name: +on: + pull_request: + types: [closed] + branches: + - master + +jobs: + build: + if: | + github.event.pull_request.merged == true + runs-on: ubuntu-20.04 + env: + BRANCH_NAME: ${{ github.head_ref }} + + steps: + - name: branch name + id: branch + run: | + feature=$(echo "${{ env.BRANCH_NAME}}" | cut -d "-" -f 3) + echo "::set-output name=feature_name::$feature" + echo "$feature" + + + - name: building infinity + run: | + yarn install + # yarn run build + shell: bash + + - name: creating index.html versioning i.e index- + run: | + cp /public/index.html /public/index-feature-${{ steps.branch.outputs.feature_name }} + shell: bash From 8be6acdc1e0d660a037694e77a4c6b015fb3eaf4 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 <88317906+prudhviraj-500@users.noreply.github.com> Date: Mon, 29 Nov 2021 12:10:03 +0530 Subject: [PATCH 17/48] Delete main.yml --- .github/workflows/deploy/main.yml | 34 ------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 .github/workflows/deploy/main.yml diff --git a/.github/workflows/deploy/main.yml b/.github/workflows/deploy/main.yml deleted file mode 100644 index 9dcce12f..00000000 --- a/.github/workflows/deploy/main.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: -on: - pull_request: - types: [closed] - branches: - - master - -jobs: - build: - if: | - github.event.pull_request.merged == true - runs-on: ubuntu-20.04 - env: - BRANCH_NAME: ${{ github.head_ref }} - - steps: - - name: branch name - id: branch - run: | - feature=$(echo "${{ env.BRANCH_NAME}}" | cut -d "-" -f 3) - echo "::set-output name=feature_name::$feature" - echo "$feature" - - - - name: building infinity - run: | - yarn install - # yarn run build - shell: bash - - - name: creating index.html versioning i.e index- - run: | - cp /public/index.html /public/index-feature-${{ steps.branch.outputs.feature_name }} - shell: bash From bdf25f292a8d2a2b295d6612b503bd0e6d4cf947 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 <88317906+prudhviraj-500@users.noreply.github.com> Date: Mon, 29 Nov 2021 12:12:46 +0530 Subject: [PATCH 18/48] Create main.yml --- .github/workflows/main.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..9dcce12f --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,34 @@ +name: +on: + pull_request: + types: [closed] + branches: + - master + +jobs: + build: + if: | + github.event.pull_request.merged == true + runs-on: ubuntu-20.04 + env: + BRANCH_NAME: ${{ github.head_ref }} + + steps: + - name: branch name + id: branch + run: | + feature=$(echo "${{ env.BRANCH_NAME}}" | cut -d "-" -f 3) + echo "::set-output name=feature_name::$feature" + echo "$feature" + + + - name: building infinity + run: | + yarn install + # yarn run build + shell: bash + + - name: creating index.html versioning i.e index- + run: | + cp /public/index.html /public/index-feature-${{ steps.branch.outputs.feature_name }} + shell: bash From a0eccc7ad618783174e839aafe686de9fa9b8661 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 <88317906+prudhviraj-500@users.noreply.github.com> Date: Mon, 29 Nov 2021 12:14:13 +0530 Subject: [PATCH 19/48] Create index.html --- .github/workflows/index.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/index.html diff --git a/.github/workflows/index.html b/.github/workflows/index.html new file mode 100644 index 00000000..33bf3c7b --- /dev/null +++ b/.github/workflows/index.html @@ -0,0 +1,16 @@ + + + + + + + + + Conduit + + + + + + From d718e85a695d0e7494509ec9936c39184b5d4a28 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 <88317906+prudhviraj-500@users.noreply.github.com> Date: Mon, 29 Nov 2021 12:14:34 +0530 Subject: [PATCH 20/48] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9dcce12f..80900def 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,5 +30,5 @@ jobs: - name: creating index.html versioning i.e index- run: | - cp /public/index.html /public/index-feature-${{ steps.branch.outputs.feature_name }} + cp index.html index-feature-${{ steps.branch.outputs.feature_name }} shell: bash From 480d1fa2060f1af87ac4506fb02f0131c42fa1f7 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 Date: Mon, 29 Nov 2021 12:14:45 +0530 Subject: [PATCH 21/48] he --- ee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee b/ee index 4dc5d876..2ad9de18 100644 --- a/ee +++ b/ee @@ -1 +1 @@ -ddddddsddd \ No newline at end of file +ddddddsddds \ No newline at end of file From 095d5e25624643809d2096f0627215705a3d6f6f Mon Sep 17 00:00:00 2001 From: prudhviraj-500 <88317906+prudhviraj-500@users.noreply.github.com> Date: Mon, 29 Nov 2021 12:16:25 +0530 Subject: [PATCH 22/48] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 80900def..20be4f3d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,5 +30,5 @@ jobs: - name: creating index.html versioning i.e index- run: | - cp index.html index-feature-${{ steps.branch.outputs.feature_name }} + cp index.html index-feature-${{ steps.branch.outputs.feature_name }}.html shell: bash From 61403cb0cb34220c9a8cd185c5088d4ace02647a Mon Sep 17 00:00:00 2001 From: prudhviraj-500 Date: Mon, 29 Nov 2021 12:16:35 +0530 Subject: [PATCH 23/48] he --- ee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee b/ee index 2ad9de18..27ba9216 100644 --- a/ee +++ b/ee @@ -1 +1 @@ -ddddddsddds \ No newline at end of file +ddddddsdddss \ No newline at end of file From 0354c6c21505cd9a706496f5a7c9308e9581b747 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 <88317906+prudhviraj-500@users.noreply.github.com> Date: Mon, 29 Nov 2021 12:26:01 +0530 Subject: [PATCH 24/48] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 20be4f3d..87b67f36 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,5 +30,5 @@ jobs: - name: creating index.html versioning i.e index- run: | - cp index.html index-feature-${{ steps.branch.outputs.feature_name }}.html + cp "index.html" "index-feature-${{ steps.branch.outputs.feature_name }}" shell: bash From 2a3283d00d1cabe6a46ff79011bad817a5a0fddb Mon Sep 17 00:00:00 2001 From: prudhviraj-500 Date: Mon, 29 Nov 2021 12:26:14 +0530 Subject: [PATCH 25/48] he --- ee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee b/ee index 27ba9216..75cd7516 100644 --- a/ee +++ b/ee @@ -1 +1 @@ -ddddddsdddss \ No newline at end of file +ddddddsdddsss \ No newline at end of file From d7e6f3121f68d0fb4a14d25aa09cf6a740c59be1 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 <88317906+prudhviraj-500@users.noreply.github.com> Date: Mon, 29 Nov 2021 12:46:08 +0530 Subject: [PATCH 26/48] Update main.yml --- .github/workflows/main.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 87b67f36..d68fa85d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,6 +14,12 @@ jobs: BRANCH_NAME: ${{ github.head_ref }} steps: + steps: + - name: Check out Git repository + uses: actions/checkout@v2 + with: + ref: master + - name: branch name id: branch run: | @@ -25,10 +31,10 @@ jobs: - name: building infinity run: | yarn install - # yarn run build + yarn run build shell: bash - name: creating index.html versioning i.e index- run: | - cp "index.html" "index-feature-${{ steps.branch.outputs.feature_name }}" + cp public/index.html public/index-feature-${{ steps.branch.outputs.feature_name }} shell: bash From e270aa9310392aa5edc0dda3a457f1b6f63e5207 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 Date: Mon, 29 Nov 2021 12:46:27 +0530 Subject: [PATCH 27/48] he --- .github/workflows/main.yml | 2 +- ee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index eadd16fd..b961d097 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,7 @@ jobs: github.event.pull_request.merged == true runs-on: ubuntu-20.04 env: - BRANCH_NAME: ${{ github.head.ref }} + BRANCH_NAME: ${{ github.head_ref }} steps: - name: branch name diff --git a/ee b/ee index 75cd7516..9d2f1c43 100644 --- a/ee +++ b/ee @@ -1 +1 @@ -ddddddsdddsss \ No newline at end of file +ddddddsdddssss \ No newline at end of file From 395b69988a02034637dde653dede9f7506b6c669 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 <88317906+prudhviraj-500@users.noreply.github.com> Date: Mon, 29 Nov 2021 12:47:30 +0530 Subject: [PATCH 28/48] Update main.yml --- .github/workflows/main.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d68fa85d..166e6218 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,6 @@ jobs: BRANCH_NAME: ${{ github.head_ref }} steps: - steps: - name: Check out Git repository uses: actions/checkout@v2 with: From 479e06accf44cb52db80353dc42c1686e455967a Mon Sep 17 00:00:00 2001 From: prudhviraj-500 Date: Mon, 29 Nov 2021 12:47:38 +0530 Subject: [PATCH 29/48] he --- ee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee b/ee index 9d2f1c43..4ed04702 100644 --- a/ee +++ b/ee @@ -1 +1 @@ -ddddddsdddssss \ No newline at end of file +ddddddsdddsssss \ No newline at end of file From d2bea95de2921a3ff6e4b7e5d609a0e8b6833ba0 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 <88317906+prudhviraj-500@users.noreply.github.com> Date: Thu, 24 Feb 2022 14:22:05 +0530 Subject: [PATCH 30/48] Update main.yml --- .github/workflows/main.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 166e6218..b9d5435f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,9 +1,15 @@ name: on: - pull_request: - types: [closed] - branches: - - master + workflow_dispatch: + inputs: + branch_name: + description: 'Please provide the exact branch name' + required: true + default: 'master' + #pull_request: + #types: [closed] + #branches: + # - master jobs: build: @@ -11,7 +17,7 @@ jobs: github.event.pull_request.merged == true runs-on: ubuntu-20.04 env: - BRANCH_NAME: ${{ github.head_ref }} + BRANCH_NAME: ${{ github.event.input.branch_name }} steps: - name: Check out Git repository @@ -22,7 +28,7 @@ jobs: - name: branch name id: branch run: | - feature=$(echo "${{ env.BRANCH_NAME}}" | cut -d "-" -f 3) + feature=$(echo "${{ env.BRANCH_NAME}}" | cut -d "-" -f 2) echo "::set-output name=feature_name::$feature" echo "$feature" From 2df9daa8dcb6cf53ec261772ce61301fe8605b59 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 Date: Thu, 24 Feb 2022 14:29:08 +0530 Subject: [PATCH 31/48] minor changes --- dd.sh | 1 + 1 file changed, 1 insertion(+) create mode 100644 dd.sh diff --git a/dd.sh b/dd.sh new file mode 100644 index 00000000..492fecfa --- /dev/null +++ b/dd.sh @@ -0,0 +1 @@ +ddddd \ No newline at end of file From 7eab97951fe96a8a9e8c3c471df6a2fc892f82d9 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 <88317906+prudhviraj-500@users.noreply.github.com> Date: Thu, 24 Feb 2022 14:31:50 +0530 Subject: [PATCH 32/48] Update main.yml --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b9d5435f..0f219f3c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,8 +13,8 @@ on: jobs: build: - if: | - github.event.pull_request.merged == true + # if: | + # github.event.pull_request.merged == true runs-on: ubuntu-20.04 env: BRANCH_NAME: ${{ github.event.input.branch_name }} From 4fbfbf7712212df399db822b561b12d2d597645c Mon Sep 17 00:00:00 2001 From: prudhviraj-500 Date: Thu, 24 Feb 2022 14:32:26 +0530 Subject: [PATCH 33/48] hellll --- dd.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/dd.sh b/dd.sh index 492fecfa..55d58013 100644 --- a/dd.sh +++ b/dd.sh @@ -1 +1,2 @@ +ddddd ddddd \ No newline at end of file From 7944d6a251ea75735fc6f7ce37684ef07ee07a43 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 Date: Thu, 24 Feb 2022 14:34:50 +0530 Subject: [PATCH 34/48] heee --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b9d5435f..b2ebb288 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,8 +13,8 @@ on: jobs: build: - if: | - github.event.pull_request.merged == true + # if: | + # github.event.pull_request.merged == true runs-on: ubuntu-20.04 env: BRANCH_NAME: ${{ github.event.input.branch_name }} From 688022218184fec73abc1ff40e1822e45e83f9e4 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 Date: Thu, 24 Feb 2022 14:37:55 +0530 Subject: [PATCH 35/48] last try --- .github/workflows/main.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b2ebb288..d4294d79 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,7 +17,7 @@ jobs: # github.event.pull_request.merged == true runs-on: ubuntu-20.04 env: - BRANCH_NAME: ${{ github.event.input.branch_name }} + BRANCH_NAME: ${{ github.event.inputs.branch_name }} steps: - name: Check out Git repository @@ -41,5 +41,6 @@ jobs: - name: creating index.html versioning i.e index- run: | - cp public/index.html public/index-feature-${{ steps.branch.outputs.feature_name }} - shell: bash + ls -al + # cp public/index.html public/index-feature-${{ steps.branch.outputs.feature_name }} + # shell: bash From cb075344b2b3a9dbfd90f2e540a8dc1aa60b104b Mon Sep 17 00:00:00 2001 From: prudhviraj-500 Date: Thu, 24 Feb 2022 14:42:40 +0530 Subject: [PATCH 36/48] minor changes --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d4294d79..50225156 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,7 +5,7 @@ on: branch_name: description: 'Please provide the exact branch name' required: true - default: 'master' + #pull_request: #types: [closed] #branches: From 29f5dbe2f0dea74bfc2190bc08a98e56a8b9eda4 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 Date: Thu, 24 Feb 2022 14:45:18 +0530 Subject: [PATCH 37/48] final --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 50225156..19a964ab 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,7 +23,7 @@ jobs: - name: Check out Git repository uses: actions/checkout@v2 with: - ref: master + ref: ${{ env.BRANCH_NAME }} - name: branch name id: branch From 4be824b56a070246f65a0dec8e2b92b2dbefc5f0 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 Date: Thu, 24 Feb 2022 15:06:57 +0530 Subject: [PATCH 38/48] aaa --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 19a964ab..3554393a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,7 +17,7 @@ jobs: # github.event.pull_request.merged == true runs-on: ubuntu-20.04 env: - BRANCH_NAME: ${{ github.event.inputs.branch_name }} + BRANCH_NAME: '' steps: - name: Check out Git repository From 7300d1e2fc14a89e21863899d0f00a854296df03 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 Date: Thu, 24 Feb 2022 15:10:02 +0530 Subject: [PATCH 39/48] hell --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3554393a..df38c14d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,13 +17,13 @@ jobs: # github.event.pull_request.merged == true runs-on: ubuntu-20.04 env: - BRANCH_NAME: '' + BRANCH_NAME: ${{ github.event.inputs.branch_name }} steps: - name: Check out Git repository uses: actions/checkout@v2 with: - ref: ${{ env.BRANCH_NAME }} + ref: '' - name: branch name id: branch From d2ba82b1a39eeba57a308e48793c6cd60109f2db Mon Sep 17 00:00:00 2001 From: prudhviraj-500 Date: Thu, 24 Feb 2022 15:13:39 +0530 Subject: [PATCH 40/48] hell --- .github/workflows/main.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index df38c14d..c5f761a2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,11 +33,7 @@ jobs: echo "$feature" - - name: building infinity - run: | - yarn install - yarn run build - shell: bash + - name: creating index.html versioning i.e index- run: | From c08c453ec1be3986827f32f9958fa1e87a017483 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 Date: Thu, 24 Feb 2022 15:41:38 +0530 Subject: [PATCH 41/48] hell --- .github/workflows/main.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c5f761a2..22bb0790 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,17 +23,26 @@ jobs: - name: Check out Git repository uses: actions/checkout@v2 with: - ref: '' + ref: develop + + - name: branch name id: branch run: | + git fetch --all + git checkout -b ${{ env.BRANCH_NAME }} + git pull origin ${{ env.BRANCH_NAME }} feature=$(echo "${{ env.BRANCH_NAME}}" | cut -d "-" -f 2) echo "::set-output name=feature_name::$feature" - echo "$feature" + echo "$feature" - + - name: building infinity + run: | + yarn install + yarn run build + shell: bash - name: creating index.html versioning i.e index- run: | From 03c2845223bb249de72546005b0719ebde2db4eb Mon Sep 17 00:00:00 2001 From: prudhviraj-500 <88317906+prudhviraj-500@users.noreply.github.com> Date: Thu, 24 Feb 2022 15:46:41 +0530 Subject: [PATCH 42/48] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 22bb0790..96517de7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,7 +23,7 @@ jobs: - name: Check out Git repository uses: actions/checkout@v2 with: - ref: develop + ref: master From ec89e0d9da4fbead1481c33726c1766a1c1cd035 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 <88317906+prudhviraj-500@users.noreply.github.com> Date: Thu, 24 Feb 2022 15:52:05 +0530 Subject: [PATCH 43/48] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 216c155b..f711b3ed 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,7 +30,7 @@ jobs: run: | git fetch --all git checkout -b ${{ env.BRANCH_NAME }} - git pull origin ${{ env.BRANCH_NAME }} + git pull feature=$(echo "${{ env.BRANCH_NAME}}" | cut -d "-" -f 2) echo "::set-output name=feature_name::$feature" echo "$feature" From 543f077fc3a1298c2872a1797d94079cd75893d7 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 <88317906+prudhviraj-500@users.noreply.github.com> Date: Thu, 24 Feb 2022 15:55:03 +0530 Subject: [PATCH 44/48] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f711b3ed..0b76e91e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,7 +30,7 @@ jobs: run: | git fetch --all git checkout -b ${{ env.BRANCH_NAME }} - git pull + git pull --rebase feature=$(echo "${{ env.BRANCH_NAME}}" | cut -d "-" -f 2) echo "::set-output name=feature_name::$feature" echo "$feature" From 5ebb45aa44488d115e40c2682f325722e48a2b90 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 <88317906+prudhviraj-500@users.noreply.github.com> Date: Thu, 24 Feb 2022 15:57:21 +0530 Subject: [PATCH 45/48] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0b76e91e..c261e9ef 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,7 +30,7 @@ jobs: run: | git fetch --all git checkout -b ${{ env.BRANCH_NAME }} - git pull --rebase + git pull origin ${{ env.BRANCH_NAME }} --rebase feature=$(echo "${{ env.BRANCH_NAME}}" | cut -d "-" -f 2) echo "::set-output name=feature_name::$feature" echo "$feature" From 2e9190304c94aa87caba939eb68acb21198ec3e0 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 <88317906+prudhviraj-500@users.noreply.github.com> Date: Thu, 24 Feb 2022 15:58:52 +0530 Subject: [PATCH 46/48] Update main.yml --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c261e9ef..82d8edf1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,6 +31,7 @@ jobs: git fetch --all git checkout -b ${{ env.BRANCH_NAME }} git pull origin ${{ env.BRANCH_NAME }} --rebase + git rebase --skip feature=$(echo "${{ env.BRANCH_NAME}}" | cut -d "-" -f 2) echo "::set-output name=feature_name::$feature" echo "$feature" From b68d7fdedd4081dac1604293f5fbe3e0baf0c457 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 <88317906+prudhviraj-500@users.noreply.github.com> Date: Thu, 24 Feb 2022 16:00:38 +0530 Subject: [PATCH 47/48] Update main.yml --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 82d8edf1..4008ff82 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,8 +30,9 @@ jobs: run: | git fetch --all git checkout -b ${{ env.BRANCH_NAME }} - git pull origin ${{ env.BRANCH_NAME }} --rebase git rebase --skip + git pull origin ${{ env.BRANCH_NAME }} --rebase + #git rebase --skip feature=$(echo "${{ env.BRANCH_NAME}}" | cut -d "-" -f 2) echo "::set-output name=feature_name::$feature" echo "$feature" From cd4888271e896bdaf6184f029108a0306e5c00e9 Mon Sep 17 00:00:00 2001 From: prudhviraj-500 <88317906+prudhviraj-500@users.noreply.github.com> Date: Thu, 24 Feb 2022 16:04:24 +0530 Subject: [PATCH 48/48] Update main.yml --- .github/workflows/main.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4008ff82..a477cae6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,7 +30,6 @@ jobs: run: | git fetch --all git checkout -b ${{ env.BRANCH_NAME }} - git rebase --skip git pull origin ${{ env.BRANCH_NAME }} --rebase #git rebase --skip feature=$(echo "${{ env.BRANCH_NAME}}" | cut -d "-" -f 2)