From d43f46c45b7fc373da7e886dab6356a6dfe86f60 Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Sat, 25 Sep 2021 13:34:29 +0530 Subject: [PATCH 01/10] commented .travis.yml --- .travis.yml | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/.travis.yml b/.travis.yml index 162cc8bb219..e7adb91c86d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,25 +1,25 @@ -dist: bionic -sudo: required +# dist: bionic +# sudo: required -branches: - only: - - master +# branches: +# only: +# - master -notifications: - email: false +# notifications: +# email: false -jobs: - include: - # docs pull request or commit to master - - name: "Build Docs" - if: type IN (push, pull_request) AND branch = master - language: node_js - node_js: - - "node" +# jobs: +# include: +# # docs pull request or commit to master +# - name: "Build Docs" +# if: type IN (push, pull_request) AND branch = master +# language: node_js +# node_js: +# - "node" - before_install: - - .travis/affects.sh docs/ .travis || travis_terminate 0 - - cd docs/ - - source .travis/before_install.sh - script: - - source .travis/script.sh +# before_install: +# - .travis/affects.sh docs/ .travis || travis_terminate 0 +# - cd docs/ +# - source .travis/before_install.sh +# script: +# - source .travis/script.sh From 18be4d653d9923841d88a533107d9a649f2f5acf Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Sat, 25 Sep 2021 13:36:48 +0530 Subject: [PATCH 02/10] adding actions.yml --- .github/workflows/actions.yml | 46 +++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/workflows/actions.yml diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml new file mode 100644 index 00000000000..03a54e43bf5 --- /dev/null +++ b/.github/workflows/actions.yml @@ -0,0 +1,46 @@ + + +on: + push: + branches: [master] + pull_request: + branches: [master] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + name: "importing all the document" + - uses: actions/setup-node@v2 + with: + node-version: '16' + name: "installing the node.js with version 16" + - run: .travis/affects.sh docs/ .travis || exit 0 + if: ${{ github.event_name == ('push' || 'pull_request')}} && ${{github.ref == 'master'}} + name: "Build Docs" + # - run: | + # yarn install + # yarn upgrade docusaurus --latest + # name: "updating the existing docusaurus" + - run: | + cd docs/ + source .travis/before_install.sh + npm ci + source .travis/script.sh + # npm install + # docusaurus-init + + # cd .. + #npm ci + env: + VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} + name: "running the before_install.sh" + #- run: | + # cd docs/ + # source .travis/script.sh + #name: "running the script.sh" +# - run: > +# cd docs/ +# source .travis/script.sh +# name: "running the .travis/script.sh" From 1e2c5a13dc6bed41aaf744fbe55f358edd6d2d9a Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Sat, 25 Sep 2021 13:52:49 +0530 Subject: [PATCH 03/10] Update actions.yml --- .github/workflows/actions.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 03a54e43bf5..726c14d12b3 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -1,4 +1,3 @@ - on: push: From a991a86519482655b766f79116b2f16fa49db786 Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Sat, 25 Sep 2021 17:13:56 +0530 Subject: [PATCH 04/10] TESTING --- .github/workflows/actions.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 726c14d12b3..e69768d4362 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -1,4 +1,5 @@ - + + on: push: branches: [master] From 53927d131767e7193da8857515be03323535cd9d Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Sat, 25 Sep 2021 18:41:52 +0530 Subject: [PATCH 05/10] RETEST --- .github/workflows/actions.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index e69768d4362..9cdd938a835 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -1,5 +1,4 @@ - on: push: branches: [master] From f4a42ccebe261aecf8424387f024aedfb1f0edf1 Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Thu, 30 Sep 2021 18:06:45 +0530 Subject: [PATCH 06/10] Update actions.yml --- .github/workflows/actions.yml | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 9cdd938a835..537d98465c2 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -4,7 +4,6 @@ on: branches: [master] pull_request: branches: [master] - jobs: build: runs-on: ubuntu-latest @@ -18,28 +17,12 @@ jobs: - run: .travis/affects.sh docs/ .travis || exit 0 if: ${{ github.event_name == ('push' || 'pull_request')}} && ${{github.ref == 'master'}} name: "Build Docs" - # - run: | - # yarn install - # yarn upgrade docusaurus --latest - # name: "updating the existing docusaurus" - run: | cd docs/ source .travis/before_install.sh npm ci source .travis/script.sh - # npm install - # docusaurus-init - - # cd .. - #npm ci env: VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} - name: "running the before_install.sh" - #- run: | - # cd docs/ - # source .travis/script.sh - #name: "running the script.sh" -# - run: > -# cd docs/ -# source .travis/script.sh -# name: "running the .travis/script.sh" + + From a32abb234fc2c050d16c3e312c4528f25114f7b0 Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Thu, 30 Sep 2021 18:20:47 +0530 Subject: [PATCH 07/10] Update publish-docs.sh --- docs/publish-docs.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/publish-docs.sh b/docs/publish-docs.sh index 2a19ba0d0b9..a81e5c93d65 100755 --- a/docs/publish-docs.sh +++ b/docs/publish-docs.sh @@ -21,6 +21,7 @@ cat > "$CONFIG_FILE" < Date: Thu, 30 Sep 2021 18:32:18 +0530 Subject: [PATCH 08/10] Update publish-docs.sh --- docs/publish-docs.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/publish-docs.sh b/docs/publish-docs.sh index a81e5c93d65..a0a03c1bfc9 100755 --- a/docs/publish-docs.sh +++ b/docs/publish-docs.sh @@ -20,8 +20,6 @@ cat > "$CONFIG_FILE" < Date: Thu, 30 Sep 2021 18:32:28 +0530 Subject: [PATCH 09/10] Update actions.yml --- .github/workflows/actions.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 537d98465c2..7a06d2c0961 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -19,6 +19,8 @@ jobs: name: "Build Docs" - run: | cd docs/ + touch .env + echo VERCEL_TOKEN =${{ secrets.VERCEL_TOKEN }} > .env source .travis/before_install.sh npm ci source .travis/script.sh From baace1df39c78d296719acf2c79527410bc9ac79 Mon Sep 17 00:00:00 2001 From: RITESH KUMAR SINGH <66211812+singhritesh750@users.noreply.github.com> Date: Thu, 30 Sep 2021 19:03:35 +0530 Subject: [PATCH 10/10] Retesting the deployment --- .github/workflows/actions.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 7a06d2c0961..fadc2eb89a5 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -1,4 +1,3 @@ - on: push: branches: [master] @@ -26,5 +25,3 @@ jobs: source .travis/script.sh env: VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} - -