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 1/6] 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 2/6] 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 3/6] 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 4/6] 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 5/6] 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 776f1f5c63f1195231465ef74471554d426cf665 Mon Sep 17 00:00:00 2001 From: RITESH KUMAR SINGH <66211812+singhritesh750@users.noreply.github.com> Date: Thu, 30 Sep 2021 18:02:19 +0530 Subject: [PATCH 6/6] Update actions.yml --- .github/workflows/actions.yml | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 9cdd938a835..8e2b135627e 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -18,28 +18,11 @@ 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"