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/56] 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/56] 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/56] 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/56] 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/56] 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/56] 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/56] 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/56] 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/56] 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 c1ecd20013f2be274abe75efbd6566dbfcfb063e Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Thu, 30 Sep 2021 19:48:14 +0530 Subject: [PATCH 10/56] Update publish-docs.sh --- docs/publish-docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/publish-docs.sh b/docs/publish-docs.sh index a0a03c1bfc9..7747927cc42 100755 --- a/docs/publish-docs.sh +++ b/docs/publish-docs.sh @@ -17,7 +17,7 @@ fi cat > "$CONFIG_FILE" < Date: Thu, 30 Sep 2021 20:35:21 +0530 Subject: [PATCH 11/56] Update publish-docs.sh --- docs/publish-docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/publish-docs.sh b/docs/publish-docs.sh index 7747927cc42..a0a03c1bfc9 100755 --- a/docs/publish-docs.sh +++ b/docs/publish-docs.sh @@ -17,7 +17,7 @@ fi cat > "$CONFIG_FILE" < Date: Thu, 30 Sep 2021 20:53:28 +0530 Subject: [PATCH 12/56] ADDING PROJ NAME --- docs/publish-docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/publish-docs.sh b/docs/publish-docs.sh index a0a03c1bfc9..37a733b3d62 100755 --- a/docs/publish-docs.sh +++ b/docs/publish-docs.sh @@ -7,7 +7,7 @@ if [[ -d .vercel ]]; then fi CONFIG_FILE=vercel.json -PROJECT_NAME=spl-solana-com +PROJECT_NAME=solana-program-library PRODUCTION= if [[ -n "$CI" ]]; then From 6ea3e7b6d52a09687191e40626bacdba423294da Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Fri, 1 Oct 2021 11:39:09 +0530 Subject: [PATCH 13/56] Update actions.yml --- .github/workflows/actions.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 7a06d2c0961..537d98465c2 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -19,8 +19,6 @@ 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 396e93c14a6b3c760a12eef40da55c677c946dca Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Fri, 1 Oct 2021 12:02:09 +0530 Subject: [PATCH 14/56] Update env.sh --- ci/env.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/env.sh b/ci/env.sh index d075b259997..dc871a24abb 100644 --- a/ci/env.sh +++ b/ci/env.sh @@ -6,6 +6,7 @@ if [[ -n $CI ]]; then export CI=1 + export CI_BRANCH=$(git branch | sed -n -e 's/^\* \(.*\)/\1/p') if [[ -n $TRAVIS ]]; then export CI_BRANCH=$TRAVIS_BRANCH export CI_BASE_BRANCH=$TRAVIS_BRANCH From 258c8d6913c4d0eccb25d71c947f956dedd30f71 Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Fri, 1 Oct 2021 15:51:26 +0530 Subject: [PATCH 15/56] adding the "cat" command --- docs/publish-docs.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/publish-docs.sh b/docs/publish-docs.sh index 37a733b3d62..ee9b8628d88 100755 --- a/docs/publish-docs.sh +++ b/docs/publish-docs.sh @@ -7,6 +7,9 @@ if [[ -d .vercel ]]; then fi CONFIG_FILE=vercel.json + +cat vercel.json + PROJECT_NAME=solana-program-library PRODUCTION= From 196c52238fcfd30ea3e68babf652915b8b35e9a9 Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Fri, 1 Oct 2021 15:57:56 +0530 Subject: [PATCH 16/56] adding the commend to print file --- docs/publish-docs.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/publish-docs.sh b/docs/publish-docs.sh index ee9b8628d88..96261fdcf66 100755 --- a/docs/publish-docs.sh +++ b/docs/publish-docs.sh @@ -8,7 +8,8 @@ fi CONFIG_FILE=vercel.json -cat vercel.json +# cat vercel.json +echo vercel.json PROJECT_NAME=solana-program-library @@ -23,6 +24,8 @@ cat > "$CONFIG_FILE" < Date: Fri, 1 Oct 2021 16:06:10 +0530 Subject: [PATCH 17/56] removing the cat and echo's --- docs/publish-docs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/publish-docs.sh b/docs/publish-docs.sh index 96261fdcf66..d605b008ec1 100755 --- a/docs/publish-docs.sh +++ b/docs/publish-docs.sh @@ -9,7 +9,7 @@ fi CONFIG_FILE=vercel.json # cat vercel.json -echo vercel.json +# echo vercel.json PROJECT_NAME=solana-program-library @@ -24,7 +24,7 @@ cat > "$CONFIG_FILE" < Date: Fri, 1 Oct 2021 16:10:30 +0530 Subject: [PATCH 18/56] changing the vercel scope --- docs/publish-docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/publish-docs.sh b/docs/publish-docs.sh index d605b008ec1..5bc91a753ee 100755 --- a/docs/publish-docs.sh +++ b/docs/publish-docs.sh @@ -21,7 +21,7 @@ fi cat > "$CONFIG_FILE" < Date: Fri, 1 Oct 2021 16:14:11 +0530 Subject: [PATCH 19/56] changing the scope --- docs/publish-docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/publish-docs.sh b/docs/publish-docs.sh index 5bc91a753ee..53ee3aa6113 100755 --- a/docs/publish-docs.sh +++ b/docs/publish-docs.sh @@ -21,7 +21,7 @@ fi cat > "$CONFIG_FILE" < Date: Fri, 1 Oct 2021 16:19:41 +0530 Subject: [PATCH 20/56] changing the scope --- docs/publish-docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/publish-docs.sh b/docs/publish-docs.sh index 53ee3aa6113..d605b008ec1 100755 --- a/docs/publish-docs.sh +++ b/docs/publish-docs.sh @@ -21,7 +21,7 @@ fi cat > "$CONFIG_FILE" < Date: Fri, 1 Oct 2021 16:26:19 +0530 Subject: [PATCH 21/56] changing the scope --- docs/publish-docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/publish-docs.sh b/docs/publish-docs.sh index d605b008ec1..5bc91a753ee 100755 --- a/docs/publish-docs.sh +++ b/docs/publish-docs.sh @@ -21,7 +21,7 @@ fi cat > "$CONFIG_FILE" < Date: Fri, 1 Oct 2021 16:31:33 +0530 Subject: [PATCH 22/56] Update publish-docs.sh --- docs/publish-docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/publish-docs.sh b/docs/publish-docs.sh index 5bc91a753ee..0347c8c7653 100755 --- a/docs/publish-docs.sh +++ b/docs/publish-docs.sh @@ -11,7 +11,7 @@ CONFIG_FILE=vercel.json # cat vercel.json # echo vercel.json -PROJECT_NAME=solana-program-library +PROJECT_NAME=spl-solana-com PRODUCTION= if [[ -n "$CI" ]]; then From 38a4f4181189c9b155562491372dcd26072691f8 Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Fri, 1 Oct 2021 16:53:40 +0530 Subject: [PATCH 23/56] Update publish-docs.sh --- docs/publish-docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/publish-docs.sh b/docs/publish-docs.sh index 0347c8c7653..571abbfcbd5 100755 --- a/docs/publish-docs.sh +++ b/docs/publish-docs.sh @@ -21,7 +21,7 @@ fi cat > "$CONFIG_FILE" < Date: Fri, 1 Oct 2021 16:58:23 +0530 Subject: [PATCH 24/56] Update publish-docs.sh --- docs/publish-docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/publish-docs.sh b/docs/publish-docs.sh index 571abbfcbd5..cd684c798c3 100755 --- a/docs/publish-docs.sh +++ b/docs/publish-docs.sh @@ -21,7 +21,7 @@ fi cat > "$CONFIG_FILE" < Date: Fri, 1 Oct 2021 17:02:06 +0530 Subject: [PATCH 25/56] Update publish-docs.sh --- docs/publish-docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/publish-docs.sh b/docs/publish-docs.sh index cd684c798c3..4fc7e0482a9 100755 --- a/docs/publish-docs.sh +++ b/docs/publish-docs.sh @@ -21,7 +21,7 @@ fi cat > "$CONFIG_FILE" < Date: Fri, 1 Oct 2021 17:14:51 +0530 Subject: [PATCH 26/56] Update publish-docs.sh --- docs/publish-docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/publish-docs.sh b/docs/publish-docs.sh index 4fc7e0482a9..0347c8c7653 100755 --- a/docs/publish-docs.sh +++ b/docs/publish-docs.sh @@ -21,7 +21,7 @@ fi cat > "$CONFIG_FILE" < Date: Fri, 1 Oct 2021 17:27:14 +0530 Subject: [PATCH 27/56] Update publish-docs.sh --- docs/publish-docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/publish-docs.sh b/docs/publish-docs.sh index 0347c8c7653..5bc91a753ee 100755 --- a/docs/publish-docs.sh +++ b/docs/publish-docs.sh @@ -11,7 +11,7 @@ CONFIG_FILE=vercel.json # cat vercel.json # echo vercel.json -PROJECT_NAME=spl-solana-com +PROJECT_NAME=solana-program-library PRODUCTION= if [[ -n "$CI" ]]; then From d3b8127d39370461abf582168670675eabbb7dee Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Fri, 1 Oct 2021 17:35:51 +0530 Subject: [PATCH 28/56] Update actions.yml --- .github/workflows/actions.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 537d98465c2..268be2ea96a 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -1,4 +1,5 @@ + on: push: branches: [master] From d1adcc0e939d440582c1d4129e63d3a1d66e9a83 Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Fri, 1 Oct 2021 17:57:24 +0530 Subject: [PATCH 29/56] Update publish-docs.sh --- docs/publish-docs.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/docs/publish-docs.sh b/docs/publish-docs.sh index 5bc91a753ee..2a19ba0d0b9 100755 --- a/docs/publish-docs.sh +++ b/docs/publish-docs.sh @@ -7,11 +7,7 @@ if [[ -d .vercel ]]; then fi CONFIG_FILE=vercel.json - -# cat vercel.json -# echo vercel.json - -PROJECT_NAME=solana-program-library +PROJECT_NAME=spl-solana-com PRODUCTION= if [[ -n "$CI" ]]; then @@ -21,10 +17,9 @@ fi cat > "$CONFIG_FILE" < Date: Fri, 1 Oct 2021 18:01:32 +0530 Subject: [PATCH 30/56] Update publish-docs.sh --- docs/publish-docs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/publish-docs.sh b/docs/publish-docs.sh index 2a19ba0d0b9..1955dc235ea 100755 --- a/docs/publish-docs.sh +++ b/docs/publish-docs.sh @@ -7,7 +7,7 @@ if [[ -d .vercel ]]; then fi CONFIG_FILE=vercel.json -PROJECT_NAME=spl-solana-com +PROJECT_NAME=spl-solana-program-library PRODUCTION= if [[ -n "$CI" ]]; then @@ -17,7 +17,7 @@ fi cat > "$CONFIG_FILE" < Date: Fri, 1 Oct 2021 18:14:12 +0530 Subject: [PATCH 31/56] Update publish-docs.sh --- docs/publish-docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/publish-docs.sh b/docs/publish-docs.sh index 1955dc235ea..34804ac3840 100755 --- a/docs/publish-docs.sh +++ b/docs/publish-docs.sh @@ -7,7 +7,7 @@ if [[ -d .vercel ]]; then fi CONFIG_FILE=vercel.json -PROJECT_NAME=spl-solana-program-library +PROJECT_NAME=solana-program-library PRODUCTION= if [[ -n "$CI" ]]; then From e82f8a3c72be6432f3dd35a6ac76a49a5c28f7fd Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Fri, 1 Oct 2021 18:19:28 +0530 Subject: [PATCH 32/56] 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 268be2ea96a..537d98465c2 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -1,5 +1,4 @@ - on: push: branches: [master] From 88729acb469d8b525c84191e9bf486b83b6efa3b Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Mon, 4 Oct 2021 19:06:42 +0530 Subject: [PATCH 33/56] changing publish.sh --- docs/publish-docs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/publish-docs.sh b/docs/publish-docs.sh index 34804ac3840..2a19ba0d0b9 100755 --- a/docs/publish-docs.sh +++ b/docs/publish-docs.sh @@ -7,7 +7,7 @@ if [[ -d .vercel ]]; then fi CONFIG_FILE=vercel.json -PROJECT_NAME=solana-program-library +PROJECT_NAME=spl-solana-com PRODUCTION= if [[ -n "$CI" ]]; then @@ -17,7 +17,7 @@ fi cat > "$CONFIG_FILE" < Date: Mon, 4 Oct 2021 19:16:17 +0530 Subject: [PATCH 34/56] Update actions.yml --- .github/workflows/actions.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 537d98465c2..268be2ea96a 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -1,4 +1,5 @@ + on: push: branches: [master] From 6471217f203b090a039ac590ada5a52ab8372c24 Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Mon, 4 Oct 2021 19:21:06 +0530 Subject: [PATCH 35/56] Update publish-docs.sh --- docs/publish-docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/publish-docs.sh b/docs/publish-docs.sh index 2a19ba0d0b9..b18aedaa98a 100755 --- a/docs/publish-docs.sh +++ b/docs/publish-docs.sh @@ -17,7 +17,7 @@ fi cat > "$CONFIG_FILE" < Date: Mon, 4 Oct 2021 19:22:32 +0530 Subject: [PATCH 36/56] Update publish-docs.sh --- docs/publish-docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/publish-docs.sh b/docs/publish-docs.sh index b18aedaa98a..a78c9e25896 100755 --- a/docs/publish-docs.sh +++ b/docs/publish-docs.sh @@ -7,7 +7,7 @@ if [[ -d .vercel ]]; then fi CONFIG_FILE=vercel.json -PROJECT_NAME=spl-solana-com +PROJECT_NAME=spl PRODUCTION= if [[ -n "$CI" ]]; then From 685b1437137c458535aefdddee0dc2392976cd80 Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Mon, 4 Oct 2021 19:25:20 +0530 Subject: [PATCH 37/56] 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 a78c9e25896..3f54afa4895 100755 --- a/docs/publish-docs.sh +++ b/docs/publish-docs.sh @@ -26,3 +26,4 @@ EOF exit 1 } vercel deploy . --local-config="$CONFIG_FILE" --confirm --token "$VERCEL_TOKEN" "$PRODUCTION" + From cd6ea1c0edf37a7418a625cf974bd374a05bed42 Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Wed, 6 Oct 2021 18:15:14 +0530 Subject: [PATCH 38/56] Create vercel.json --- vercel.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 vercel.json diff --git a/vercel.json b/vercel.json new file mode 100644 index 00000000000..1d27cf5bf96 --- /dev/null +++ b/vercel.json @@ -0,0 +1,5 @@ +{ + "github": { + "silent": false + } +} From d28a803e79319e1ad1204428c0091f60ca0878fc Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Wed, 6 Oct 2021 18:22:09 +0530 Subject: [PATCH 39/56] Update vercel.json --- vercel.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vercel.json b/vercel.json index 1d27cf5bf96..7ae9a3de54d 100644 --- a/vercel.json +++ b/vercel.json @@ -1,5 +1,5 @@ { "github": { - "silent": false + "silent": true } } From 13d129eb0492bc45a1e13f532e4d22c613fbc262 Mon Sep 17 00:00:00 2001 From: axleiro <83293196+axleiro@users.noreply.github.com> Date: Sat, 9 Oct 2021 13:26:55 +0530 Subject: [PATCH 40/56] test2 --- .github/workflows/actions.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 268be2ea96a..537d98465c2 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -1,5 +1,4 @@ - on: push: branches: [master] From a4c48dff0bb6a5031ad0c0e36a40a5d05b534296 Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Mon, 11 Oct 2021 15:40:02 +0530 Subject: [PATCH 41/56] Rename .travis.yml to .travis.yml.txt --- .travis.yml => .travis.yml.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .travis.yml => .travis.yml.txt (100%) diff --git a/.travis.yml b/.travis.yml.txt similarity index 100% rename from .travis.yml rename to .travis.yml.txt From 02771fdfc3af02108a1b853864f3fb9153b9307e Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Mon, 11 Oct 2021 15:43:57 +0530 Subject: [PATCH 42/56] Update actions.yml --- .github/workflows/actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 537d98465c2..2a57762a958 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -2,7 +2,7 @@ on: push: branches: [master] - pull_request: + pull_request_target: branches: [master] jobs: build: From f8a0b4f76b7b3e97f6a8558964fd942a7ab8fcb4 Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Fri, 29 Oct 2021 12:21:39 +0530 Subject: [PATCH 43/56] Update actions.yml --- .github/workflows/actions.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 2a57762a958..462a810d281 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -1,4 +1,5 @@ + on: push: branches: [master] From a7b0c466861561d11e24996c070d3f3386c9052b Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Fri, 29 Oct 2021 12:33:26 +0530 Subject: [PATCH 44/56] Update actions.yml --- .github/workflows/actions.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 462a810d281..a022acfda8c 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -3,7 +3,7 @@ on: push: branches: [master] - pull_request_target: + pull_request: branches: [master] jobs: build: @@ -14,16 +14,15 @@ jobs: - 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: | + .travis/affects.sh docs/ .travis || exit 0 cd docs/ source .travis/before_install.sh - npm ci - source .travis/script.sh - env: - VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} + #npm ci + # source .travis/script.sh + #env: + #VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} From cf662acb9ee5f56ac408307ba33fb53562eea81c Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Fri, 29 Oct 2021 12:37:53 +0530 Subject: [PATCH 45/56] Update actions.yml --- .github/workflows/actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index a022acfda8c..e9f868c7bf8 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -1,4 +1,4 @@ - +name : build on: push: From 2422aa898a048445e7450e0390a704e27c9ef890 Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Fri, 29 Oct 2021 12:43:47 +0530 Subject: [PATCH 46/56] Create actionB.yml --- .github/workflows/actionB.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/actionB.yml diff --git a/.github/workflows/actionB.yml b/.github/workflows/actionB.yml new file mode 100644 index 00000000000..54228b90040 --- /dev/null +++ b/.github/workflows/actionB.yml @@ -0,0 +1,17 @@ +name : deploy +on: + workflow_run: + workflows: ["build"] + types: + - completed +jobs: + deploy: + runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion == 'success' }} + steps: + - uses: actions/checkout@v2 + name: deploying + run : | + source .travis/script.sh + env: + VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} From a745311bca5249f35c1bd15b38251ae66ce8fb36 Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Fri, 29 Oct 2021 12:45:03 +0530 Subject: [PATCH 47/56] Update actionB.yml --- .github/workflows/actionB.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actionB.yml b/.github/workflows/actionB.yml index 54228b90040..d9ddada9804 100644 --- a/.github/workflows/actionB.yml +++ b/.github/workflows/actionB.yml @@ -10,7 +10,7 @@ jobs: if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - uses: actions/checkout@v2 - name: deploying + - name: deploying run : | source .travis/script.sh env: From ea334dda9b67276412a7860a1164bf6c77ec8fa3 Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Fri, 29 Oct 2021 12:47:42 +0530 Subject: [PATCH 48/56] Update .gitignore --- docs/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/.gitignore b/docs/.gitignore index 8df87aa3d9c..ec47dda9188 100644 --- a/docs/.gitignore +++ b/docs/.gitignore @@ -1,4 +1,5 @@ # Dependencies + /node_modules # Production From f5e9227eb997f110ca88d4e69a0fef434bdde014 Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Fri, 29 Oct 2021 12:49:53 +0530 Subject: [PATCH 49/56] Update actionB.yml --- .github/workflows/actionB.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/actionB.yml b/.github/workflows/actionB.yml index d9ddada9804..3d7dfda4bb0 100644 --- a/.github/workflows/actionB.yml +++ b/.github/workflows/actionB.yml @@ -12,6 +12,7 @@ jobs: - uses: actions/checkout@v2 - name: deploying run : | + cd docs/ source .travis/script.sh env: VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} From 2975935bcaa0e9056e5fec67b2b6f05f76c6fff3 Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Fri, 29 Oct 2021 12:54:19 +0530 Subject: [PATCH 50/56] Update actionB.yml --- .github/workflows/actionB.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/actionB.yml b/.github/workflows/actionB.yml index 3d7dfda4bb0..b327d6d6422 100644 --- a/.github/workflows/actionB.yml +++ b/.github/workflows/actionB.yml @@ -12,6 +12,7 @@ jobs: - uses: actions/checkout@v2 - name: deploying run : | + npm ci cd docs/ source .travis/script.sh env: From 0b78ef6cca5bf80a904cf715c201595d09fb5ffc Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Fri, 29 Oct 2021 12:57:54 +0530 Subject: [PATCH 51/56] Update actionB.yml --- .github/workflows/actionB.yml | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/actionB.yml b/.github/workflows/actionB.yml index b327d6d6422..cf5bd4d51d3 100644 --- a/.github/workflows/actionB.yml +++ b/.github/workflows/actionB.yml @@ -5,15 +5,21 @@ on: types: - completed jobs: - deploy: + deploy: runs-on: ubuntu-latest if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - uses: actions/checkout@v2 - - name: deploying - run : | - npm ci - cd docs/ - source .travis/script.sh - env: - VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} + name: "importing all the document" + - uses: actions/setup-node@v2 + with: + node-version: '16' +# if: ${{ github.event_name == ('push' || 'pull_request')}} && ${{github.ref == 'master'}} + name: "Build Docs" + - run: | + .travis/affects.sh docs/ .travis || exit 0 + cd docs/ + source .travis/before_install.sh + npm ci + source .travis/script.sh + From 23e42f7e299850fb9698c589b6c0a38632cb1eea Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Fri, 29 Oct 2021 13:29:58 +0530 Subject: [PATCH 52/56] Update actionB.yml --- .github/workflows/actionB.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/actionB.yml b/.github/workflows/actionB.yml index cf5bd4d51d3..9f8a76e40a5 100644 --- a/.github/workflows/actionB.yml +++ b/.github/workflows/actionB.yml @@ -14,10 +14,11 @@ jobs: - uses: actions/setup-node@v2 with: node-version: '16' + - run : .travis/affects.sh docs/ .travis || exit 0 # if: ${{ github.event_name == ('push' || 'pull_request')}} && ${{github.ref == 'master'}} name: "Build Docs" - run: | - .travis/affects.sh docs/ .travis || exit 0 + cd docs/ source .travis/before_install.sh npm ci From 87951a5fa812ce354c67ab9789ce61beb9e5209b Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Fri, 29 Oct 2021 13:37:44 +0530 Subject: [PATCH 53/56] Update actionB.yml --- .github/workflows/actionB.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/actionB.yml b/.github/workflows/actionB.yml index 9f8a76e40a5..c078bd34440 100644 --- a/.github/workflows/actionB.yml +++ b/.github/workflows/actionB.yml @@ -23,4 +23,7 @@ jobs: source .travis/before_install.sh npm ci source .travis/script.sh + + env: + VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} From 91d8e9e9406d3a9cff57fed77e2ecce2db2767da Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Fri, 29 Oct 2021 13:38:50 +0530 Subject: [PATCH 54/56] Update actions.yml --- .github/workflows/actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index e9f868c7bf8..e6c1732acd9 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -20,7 +20,7 @@ jobs: .travis/affects.sh docs/ .travis || exit 0 cd docs/ source .travis/before_install.sh - #npm ci + # source .travis/script.sh #env: #VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} From d0baf4c0acfeb2f222312ad14047cd5f6b82bd49 Mon Sep 17 00:00:00 2001 From: joeaba <77398477+joeaba@users.noreply.github.com> Date: Fri, 29 Oct 2021 13:40:51 +0530 Subject: [PATCH 55/56] Update actions.yml --- .github/workflows/actions.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index e6c1732acd9..fcf56c2a88d 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -20,8 +20,8 @@ jobs: .travis/affects.sh docs/ .travis || exit 0 cd docs/ source .travis/before_install.sh - - # source .travis/script.sh + npm ci + source .travis/script.sh #env: #VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} From d9615976b0fc9f2de02e0905bce107ce0bf000ef Mon Sep 17 00:00:00 2001 From: axleiro <83293196+axleiro@users.noreply.github.com> Date: Fri, 29 Oct 2021 14:05:21 +0530 Subject: [PATCH 56/56] 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 fcf56c2a88d..488fcef06e5 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -1,5 +1,4 @@ name : build - on: push: branches: [master]