Skip to content

Commit

Permalink
Merge c1211a2 into a147b5f
Browse files Browse the repository at this point in the history
  • Loading branch information
gcharang authored Nov 24, 2024
2 parents a147b5f + c1211a2 commit fddafe4
Show file tree
Hide file tree
Showing 1,152 changed files with 107,943 additions and 100,912 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/get_data_lint_files_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
with:
path: website-komodo-docs
path: website-komodoplatform.com
ssh-key: ${{ secrets.DOCS_UI_SSH_PRIVATE_KEY }}
repository: KomodoPlatform/website-komodo-docs
repository: KomodoPlatform/website-komodoplatform.com
ref: dev
submodules: recursive
fetch-depth: 0
Expand All @@ -102,7 +102,7 @@ jobs:
env:
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: "true"
with:
node-version: "18.9.0"
node-version: "18.20.4"
cache: yarn
cache-dependency-path: "**/yarn.lock"

Expand All @@ -122,14 +122,14 @@ jobs:
pwd
echo $GITHUB_WORKSPACE
ls $GITHUB_WORKSPACE
cd $GITHUB_WORKSPACE/website-komodo-docs/utils
cd $GITHUB_WORKSPACE/website-komodoplatform.com/utils
./update_mdx_branch.sh ${{ steps.vars.outputs.BRANCH_NAME }}
cd ..
export CFP=yes
./update-content.sh
rsync -avh --delete $GITHUB_WORKSPACE/utils/_fileData.json $GITHUB_WORKSPACE/website-komodo-docs/_fileData.json
rsync -avh --delete $GITHUB_WORKSPACE/utils/_searchIndex.json $GITHUB_WORKSPACE/website-komodo-docs/lib/data/searchIndex.json
yarn install
./update-content.sh
rsync -avh --delete $GITHUB_WORKSPACE/utils/_fileData.json $GITHUB_WORKSPACE/website-komodoplatform.com/src/data/docs/_fileData.json
rsync -avh --delete $GITHUB_WORKSPACE/utils/_searchIndex.json $GITHUB_WORKSPACE/website-komodoplatform.com/src/data/docs/searchIndex.json
yarn export
echo -e "https://:project.pages.dev/*\n X-Robots-Tag: noindex" > ./out/_headers
Expand All @@ -140,7 +140,7 @@ jobs:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
projectName: komodo-docs
directory: ./website-komodo-docs/out
directory: ./website-komodoplatform.com/out
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
wranglerVersion: "3"
branch: ${{ steps.vars.outputs.BRANCH_NAME }}
Expand Down Expand Up @@ -179,16 +179,16 @@ jobs:
- name: Generate Preview Images
if: github.base_ref == 'main' || github.ref == 'refs/heads/main'
run: |
cd $GITHUB_WORKSPACE/website-komodo-docs/
cd $GITHUB_WORKSPACE/website-komodoplatform.com/
git status
yarn gen:previewImgs
# TODO: update previewImgTimeStamps.json from $GITHUB_WORKSPACE/website-komodo-docs/previewImgTimeStamps.json to $GITHUB_WORKSPACE/website-komodo-docs/src/data/docs/previewImgTimeStamps.json
- name: Update mdx repo with preview images
if: github.base_ref == 'main' || github.ref == 'refs/heads/main'
run: mkdir -p $GITHUB_WORKSPACE/preview-images/optimized/ && mkdir -p $GITHUB_WORKSPACE/preview-images/original/ && rsync -avh --delete $GITHUB_WORKSPACE/website-komodo-docs/preview-images-original/ $GITHUB_WORKSPACE/preview-images/original/ && rsync -avh --delete $GITHUB_WORKSPACE/website-komodo-docs/public/preview-images/ $GITHUB_WORKSPACE/preview-images/optimized/ && rsync -avh --delete $GITHUB_WORKSPACE/website-komodo-docs/previewImgTimeStamps.json $GITHUB_WORKSPACE/preview-images/previewImgTimeStamps.json
run: mkdir -p $GITHUB_WORKSPACE/preview-images/optimized/ && mkdir -p $GITHUB_WORKSPACE/preview-images/original/ && rsync -avh --delete $GITHUB_WORKSPACE/website-komodoplatform.com/preview-images-original/ $GITHUB_WORKSPACE/preview-images/original/ && rsync -avh --delete $GITHUB_WORKSPACE/website-komodoplatform.com/public/preview-images/ $GITHUB_WORKSPACE/preview-images/optimized/ && rsync -avh --delete $GITHUB_WORKSPACE/website-komodoplatform.com/src/data/docs/previewImgTimeStamps.json $GITHUB_WORKSPACE/preview-images/previewImgTimeStamps.json

- name: Delete repo checked out UI repo
run: rm -rf $GITHUB_WORKSPACE/website-komodo-docs
run: rm -rf $GITHUB_WORKSPACE/website-komodoplatform.com

# - name: Check if diff exists
# id: diff_check
Expand Down
19 changes: 17 additions & 2 deletions authors.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"username": "Emmaccen",
"commit_emails": [
"58217705+Emmaccen@users.noreply.github.com",
"lucius.emmanuel.e@gmail.com"
"lucius.emmanuel.e@gmail.com",
"oriolaemmanuel199@gmail.com"
],
"socials": {
"twitter": "emmaccen",
Expand Down Expand Up @@ -63,7 +64,7 @@
"samiodev@icloud.com"
],
"socials": {
"twitter": "",
"twitter": "_sotdev",
"linkedin": ""
},
"id": 51881311,
Expand Down Expand Up @@ -489,5 +490,19 @@
"id": 368260,
"avatar_url": "https://avatars.githubusercontent.com/u/368260?v=4",
"image": "bsodmike.jpeg"
},
"harsenyan3": {
"username": "harsenyan3",
"commit_emails": [
"112006229+harsenyan3@users.noreply.github.com",
"harsenyan3@gatech.edu"
],
"socials": {
"twitter": "",
"linkedin": ""
},
"id": 112006229,
"avatar_url": "https://avatars.githubusercontent.com/u/112006229?v=4",
"image": "harsenyan3.png"
}
}
Loading

0 comments on commit fddafe4

Please sign in to comment.