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/8] 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/8] 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/8] 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/8] 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/8] 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 6/8] 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 7/8] 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:22:16 +0530 Subject: [PATCH 8/8] Update patch.crates-io.sh --- patch.crates-io.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/patch.crates-io.sh b/patch.crates-io.sh index 8f0acc2f1c1..bc826d984a3 100755 --- a/patch.crates-io.sh +++ b/patch.crates-io.sh @@ -2,7 +2,6 @@ # # Patches the SPL crates for developing against a local solana monorepo # - solana_dir=$1 if [[ -z $solana_dir ]]; then echo "Usage: $0 "