From 89bdb0f84f1b2cdb42f73cafc736f4a6e34c268f Mon Sep 17 00:00:00 2001 From: Arindam Date: Sun, 7 Jul 2024 10:20:21 +0530 Subject: [PATCH 1/3] Code + Fix ( Signed Commit ) | Adding new vscode workspace color changes in the settings.json --- .vscode/settings.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index e7e7ea3..2409c0a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -10,22 +10,22 @@ "explorer.confirmDelete": true, "explorer.confirmPasteNative": true, "workbench.colorCustomizations": { - "activityBar.activeBackground": "#ffff33", - "activityBar.background": "#ffff33", + "activityBar.activeBackground": "#feff1a", + "activityBar.background": "#feff1a", "activityBar.foreground": "#15202b", "activityBar.inactiveForeground": "#15202b99", - "activityBarBadge.background": "#00bfbf", + "activityBarBadge.background": "#00bebf", "activityBarBadge.foreground": "#15202b", "commandCenter.border": "#15202b99", - "sash.hoverBorder": "#ffff33", - "statusBar.background": "#ffff00", + "sash.hoverBorder": "#feff1a", + "statusBar.background": "#e5e600", "statusBar.foreground": "#15202b", - "statusBarItem.hoverBackground": "#cccc00", - "statusBarItem.remoteBackground": "#ffff00", + "statusBarItem.hoverBackground": "#b2b300", + "statusBarItem.remoteBackground": "#e5e600", "statusBarItem.remoteForeground": "#15202b", - "titleBar.activeBackground": "#ffff00", + "titleBar.activeBackground": "#e5e600", "titleBar.activeForeground": "#15202b", - "titleBar.inactiveBackground": "#ffff0099", + "titleBar.inactiveBackground": "#e5e60099", "titleBar.inactiveForeground": "#15202b99" }, "peacock.remoteColor": "yellow", From 9a0aa937266fd9fc214801929704bce4d8cb903e Mon Sep 17 00:00:00 2001 From: Arindam Tanti Date: Tue, 23 Jul 2024 21:58:46 +0530 Subject: [PATCH 2/3] Code + Fix ( Signed Commit ) | Adding code fixes --- .github/workflows/ci_cd_prod.yml | 47 ++++++++++++++++++-------------- .vscode/settings.json | 18 ++++++------ CNAME | 1 - TuxTechBlogs/mkdocs.yml | 2 +- 4 files changed, 36 insertions(+), 32 deletions(-) delete mode 100644 CNAME diff --git a/.github/workflows/ci_cd_prod.yml b/.github/workflows/ci_cd_prod.yml index d6a60dd..e5a2664 100644 --- a/.github/workflows/ci_cd_prod.yml +++ b/.github/workflows/ci_cd_prod.yml @@ -1,5 +1,4 @@ -name: ci_cd_prod - +name: 🚀 PROD - Publish TuxTechBlogs via GitHub Actions & Github Pages on: workflow_dispatch: push: @@ -9,25 +8,31 @@ permissions: contents: write jobs: - deploy_on_build: + build: + name: Deploy Mkdocs Website runs-on: ubuntu-latest steps: - - name: Checkout Github Repository - uses: actions/checkout@v3 # Use version 3 of the action - - - name: Install Python - uses: actions/setup-python@v4 # Use version 4 of the action - with: - python-version: '3.x' - - - name: Install Python Dependencies - run: | - echo "Installing The Python Dependencies" - pip install mkdocs mkdocs-material mkdocs-swagger-ui - echo "Completed Installing Python Dependencies" + - name: Checkout master Branch of Blogs + uses: actions/checkout@v2 - - name: Deploy mkdocs Website - run: | - cd TuxTechBlogs - mkdocs gh-deploy -b prod-pages --clean --force - echo "Completed Deploying The Website" + - name: Deploy Blogs on Custom Domain + uses: mhausenblas/mkdocs-deploy-gh-pages@master + # Or use mhausenblas/mkdocs-deploy-gh-pages@nomaterial to build without the mkdocs-material theme + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + CUSTOM_DOMAIN: blogs.tuxtechlab.com + CONFIG_FILE: TuxTechBlogs/mkdocs.yml + EXTRA_PACKAGES: > + jinja2~=3.0 + markdown~=3.2 + mkdocs~=1.6 + mkdocs-material-extensions~=1.3 + pygments~=2.16 + pymdown-extensions~=10.2 + babel~=2.10 + colorama~=0.4 + paginate~=0.5 + regex>=2022.4 + requests~=2.26 + # GITHUB_DOMAIN: github.myenterprise.com + REQUIREMENTS: requirements.txt \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 2409c0a..e7e7ea3 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -10,22 +10,22 @@ "explorer.confirmDelete": true, "explorer.confirmPasteNative": true, "workbench.colorCustomizations": { - "activityBar.activeBackground": "#feff1a", - "activityBar.background": "#feff1a", + "activityBar.activeBackground": "#ffff33", + "activityBar.background": "#ffff33", "activityBar.foreground": "#15202b", "activityBar.inactiveForeground": "#15202b99", - "activityBarBadge.background": "#00bebf", + "activityBarBadge.background": "#00bfbf", "activityBarBadge.foreground": "#15202b", "commandCenter.border": "#15202b99", - "sash.hoverBorder": "#feff1a", - "statusBar.background": "#e5e600", + "sash.hoverBorder": "#ffff33", + "statusBar.background": "#ffff00", "statusBar.foreground": "#15202b", - "statusBarItem.hoverBackground": "#b2b300", - "statusBarItem.remoteBackground": "#e5e600", + "statusBarItem.hoverBackground": "#cccc00", + "statusBarItem.remoteBackground": "#ffff00", "statusBarItem.remoteForeground": "#15202b", - "titleBar.activeBackground": "#e5e600", + "titleBar.activeBackground": "#ffff00", "titleBar.activeForeground": "#15202b", - "titleBar.inactiveBackground": "#e5e60099", + "titleBar.inactiveBackground": "#ffff0099", "titleBar.inactiveForeground": "#15202b99" }, "peacock.remoteColor": "yellow", diff --git a/CNAME b/CNAME deleted file mode 100644 index 4d47527..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -blogs.tuxtechlab.com \ No newline at end of file diff --git a/TuxTechBlogs/mkdocs.yml b/TuxTechBlogs/mkdocs.yml index 79f56ee..72d2b10 100644 --- a/TuxTechBlogs/mkdocs.yml +++ b/TuxTechBlogs/mkdocs.yml @@ -15,7 +15,7 @@ copyright: > # Site Configurations use_directory_urls: true -strict: no +strict: false # Enable dev_addr when working in development environment. #dev_addr: 0.0.0.0:{BLOGS_CTR_INTERNAL_PORT} From cc228eab56e7a8b583f1c3d50f975fa7dbb30d82 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 23 Jul 2024 16:30:11 +0000 Subject: [PATCH 3/3] Bump jinja2 from 3.1.3 to 3.1.4 Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4) --- updated-dependencies: - dependency-name: jinja2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 0e10074..ab69f01 100644 --- a/requirements.txt +++ b/requirements.txt @@ -19,7 +19,7 @@ # IN THE SOFTWARE. # Requirements for core -jinja2~=3.0 +jinja2~=3.1 markdown~=3.2 mkdocs~=1.6 mkdocs-material-extensions~=1.3