From d0fec1f9697bdc3184102896ab355e8cbe074ab3 Mon Sep 17 00:00:00 2001
From: Ambushfall <95249049+Ambushfall@users.noreply.github.com>
Date: Fri, 9 Dec 2022 14:07:05 +0100
Subject: [PATCH 01/17] Update script.js
---
script.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/script.js b/script.js
index 785110a..e7b1249 100644
--- a/script.js
+++ b/script.js
@@ -1,4 +1,4 @@
-const username = '2KAbhishek';
+const username = 'Ambushfall';
const maxPages = 2;
const hideForks = true;
const repoList = document.querySelector('.repo-list');
From 517e95a66796036b134c7695108f1c9fba67950f Mon Sep 17 00:00:00 2001
From: Ambushfall <95249049+Ambushfall@users.noreply.github.com>
Date: Fri, 9 Dec 2022 15:30:39 +0100
Subject: [PATCH 02/17] Update index.html
---
index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.html b/index.html
index 8131bc5..1e5257f 100644
--- a/index.html
+++ b/index.html
@@ -5,7 +5,7 @@
-
2KAbhishek's Projects
+ Ambushfall's Projects
From f91f97281a620a1c34676fc24195f13307510346 Mon Sep 17 00:00:00 2001
From: Ambushfall <95249049+Ambushfall@users.noreply.github.com>
Date: Wed, 28 Dec 2022 11:43:02 +0100
Subject: [PATCH 03/17] Update script.js
---
script.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/script.js b/script.js
index e7b1249..f870ba9 100644
--- a/script.js
+++ b/script.js
@@ -1,6 +1,6 @@
const username = 'Ambushfall';
const maxPages = 2;
-const hideForks = true;
+const hideForks = false;
const repoList = document.querySelector('.repo-list');
const reposSection = document.querySelector('.repos');
const filterInput = document.querySelector('.filter-repos');
From 0604f8e206ac27aed860791c164b29511d000ceb Mon Sep 17 00:00:00 2001
From: Ambushfall <95249049+Ambushfall@users.noreply.github.com>
Date: Wed, 28 Dec 2022 13:44:17 +0100
Subject: [PATCH 04/17] Create .env
---
.env | 1 +
1 file changed, 1 insertion(+)
create mode 100644 .env
diff --git a/.env b/.env
new file mode 100644
index 0000000..6e31cb8
--- /dev/null
+++ b/.env
@@ -0,0 +1 @@
+secret=${{ secrets.GITHUB_TOKEN }}
From f84b5a01219642ee4f221ca9fa690921d765f385 Mon Sep 17 00:00:00 2001
From: Ambushfall <95249049+Ambushfall@users.noreply.github.com>
Date: Wed, 28 Dec 2022 13:44:53 +0100
Subject: [PATCH 05/17] Update script.js
---
script.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/script.js b/script.js
index f870ba9..eceea0f 100644
--- a/script.js
+++ b/script.js
@@ -4,6 +4,7 @@ const hideForks = false;
const repoList = document.querySelector('.repo-list');
const reposSection = document.querySelector('.repos');
const filterInput = document.querySelector('.filter-repos');
+console.log(${{ secrets.GITHUB_TOKEN }})
// get information from github profile
const getProfile = async () => {
From e8be6e338956a95ec4bfcd8158f98feda1f7ed9a Mon Sep 17 00:00:00 2001
From: Ambushfall <95249049+Ambushfall@users.noreply.github.com>
Date: Wed, 28 Dec 2022 13:54:47 +0100
Subject: [PATCH 06/17] Delete .env
---
.env | 1 -
1 file changed, 1 deletion(-)
delete mode 100644 .env
diff --git a/.env b/.env
deleted file mode 100644
index 6e31cb8..0000000
--- a/.env
+++ /dev/null
@@ -1 +0,0 @@
-secret=${{ secrets.GITHUB_TOKEN }}
From c121f195a9918d902440563943efd5fba6b59007 Mon Sep 17 00:00:00 2001
From: Ambushfall <95249049+Ambushfall@users.noreply.github.com>
Date: Wed, 28 Dec 2022 13:58:40 +0100
Subject: [PATCH 07/17] Create jekyll-gh-pages.yml
---
.github/workflows/jekyll-gh-pages.yml | 52 +++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
create mode 100644 .github/workflows/jekyll-gh-pages.yml
diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml
new file mode 100644
index 0000000..a3b66e6
--- /dev/null
+++ b/.github/workflows/jekyll-gh-pages.yml
@@ -0,0 +1,52 @@
+# Sample workflow for building and deploying a Jekyll site to GitHub Pages
+name: Deploy Jekyll with GitHub Pages dependencies preinstalled
+
+on:
+ # Runs on pushes targeting the default branch
+ push:
+ branches: ["main"]
+
+ # Allows you to run this workflow manually from the Actions tab
+ workflow_dispatch:
+
+# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
+permissions:
+ contents: read
+ pages: write
+ id-token: write
+
+# Allow one concurrent deployment
+concurrency:
+ group: "pages"
+ cancel-in-progress: true
+
+jobs:
+ # Build job
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: SetSecret
+ run: sed -i "s/TOKEN/${{secrets.GIT_TOKEN}}/g" "./script.js"
+ - name: Checkout
+ uses: actions/checkout@v3
+ - name: Setup Pages
+ uses: actions/configure-pages@v2
+ - name: Build with Jekyll
+ uses: actions/jekyll-build-pages@v1
+ with:
+ source: ./
+ destination: ./_site
+ - name: Upload artifact
+ uses: actions/upload-pages-artifact@v1
+
+ # Deployment job
+ deploy:
+ environment:
+ name: github-pages
+ url: ${{ steps.deployment.outputs.page_url }}
+ runs-on: ubuntu-latest
+ needs: build
+ steps:
+ - name: Deploy to GitHub Pages
+ id: deployment
+ uses: actions/deploy-pages@v1
From adbc199b1f39dc4ea6555c07f28665fc2ee258cd Mon Sep 17 00:00:00 2001
From: Ambushfall <95249049+Ambushfall@users.noreply.github.com>
Date: Wed, 28 Dec 2022 13:58:47 +0100
Subject: [PATCH 08/17] Update script.js
---
script.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/script.js b/script.js
index eceea0f..e2bbb7e 100644
--- a/script.js
+++ b/script.js
@@ -4,7 +4,7 @@ const hideForks = false;
const repoList = document.querySelector('.repo-list');
const reposSection = document.querySelector('.repos');
const filterInput = document.querySelector('.filter-repos');
-console.log(${{ secrets.GITHUB_TOKEN }})
+const GITSECRET = "TOKEN"
// get information from github profile
const getProfile = async () => {
From 3b4c9f54c7c215e0b3066e252c430dc64d90bbdc Mon Sep 17 00:00:00 2001
From: Ambushfall <95249049+Ambushfall@users.noreply.github.com>
Date: Wed, 28 Dec 2022 14:04:31 +0100
Subject: [PATCH 09/17] Update jekyll-gh-pages.yml
---
.github/workflows/jekyll-gh-pages.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml
index a3b66e6..fb08595 100644
--- a/.github/workflows/jekyll-gh-pages.yml
+++ b/.github/workflows/jekyll-gh-pages.yml
@@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: SetSecret
- run: sed -i "s/TOKEN/${{secrets.GIT_TOKEN}}/g" "./script.js"
+ run: sed -i "s/TOKEN/${{secrets.GIT_TOKEN}}/g" "${{ github.workspace }}/script.js"
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
From 7b87ad5ff36417c6d941751f0c3a5989f7c5f63d Mon Sep 17 00:00:00 2001
From: Ambushfall <95249049+Ambushfall@users.noreply.github.com>
Date: Wed, 28 Dec 2022 14:07:21 +0100
Subject: [PATCH 10/17] Update jekyll-gh-pages.yml
---
.github/workflows/jekyll-gh-pages.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml
index fb08595..a3b66e6 100644
--- a/.github/workflows/jekyll-gh-pages.yml
+++ b/.github/workflows/jekyll-gh-pages.yml
@@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: SetSecret
- run: sed -i "s/TOKEN/${{secrets.GIT_TOKEN}}/g" "${{ github.workspace }}/script.js"
+ run: sed -i "s/TOKEN/${{secrets.GIT_TOKEN}}/g" "./script.js"
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
From e90e9969a50ae4618a78f9a5b977591a51e111f6 Mon Sep 17 00:00:00 2001
From: Ambushfall <95249049+Ambushfall@users.noreply.github.com>
Date: Wed, 28 Dec 2022 14:10:58 +0100
Subject: [PATCH 11/17] Update jekyll-gh-pages.yml
---
.github/workflows/jekyll-gh-pages.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml
index a3b66e6..4538aa9 100644
--- a/.github/workflows/jekyll-gh-pages.yml
+++ b/.github/workflows/jekyll-gh-pages.yml
@@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: SetSecret
- run: sed -i "s/TOKEN/${{secrets.GIT_TOKEN}}/g" "./script.js"
+ run: sed -i "s/TOKEN/${{secrets.GIT_TOKEN}}/g" ${{ github.repository }}/script.js
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
From e5609badc3214f16f75555de583ebf4e2969eece Mon Sep 17 00:00:00 2001
From: Ambushfall <95249049+Ambushfall@users.noreply.github.com>
Date: Wed, 28 Dec 2022 14:19:18 +0100
Subject: [PATCH 12/17] Update jekyll-gh-pages.yml
---
.github/workflows/jekyll-gh-pages.yml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml
index 4538aa9..948e2e5 100644
--- a/.github/workflows/jekyll-gh-pages.yml
+++ b/.github/workflows/jekyll-gh-pages.yml
@@ -26,7 +26,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: SetSecret
- run: sed -i "s/TOKEN/${{secrets.GIT_TOKEN}}/g" ${{ github.repository }}/script.js
+ run: |
+ sed -i "s/TOKEN/${{secrets.GIT_TOKEN}}/g" "${{ github.workspace }}/script.js"
+ dir ${{github.workspace}}
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
From 39957f420a2a39b6c0aa154fa12655948bfb93d4 Mon Sep 17 00:00:00 2001
From: Ambushfall <95249049+Ambushfall@users.noreply.github.com>
Date: Wed, 28 Dec 2022 14:20:54 +0100
Subject: [PATCH 13/17] Update jekyll-gh-pages.yml
---
.github/workflows/jekyll-gh-pages.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml
index 948e2e5..1784ec3 100644
--- a/.github/workflows/jekyll-gh-pages.yml
+++ b/.github/workflows/jekyll-gh-pages.yml
@@ -28,7 +28,7 @@ jobs:
- name: SetSecret
run: |
sed -i "s/TOKEN/${{secrets.GIT_TOKEN}}/g" "${{ github.workspace }}/script.js"
- dir ${{github.workspace}}
+ echo ${{github.workspace}}
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
From 4ce53d752972b08815cbd248a62093e579e411ab Mon Sep 17 00:00:00 2001
From: Ambushfall <95249049+Ambushfall@users.noreply.github.com>
Date: Wed, 28 Dec 2022 14:24:18 +0100
Subject: [PATCH 14/17] Update jekyll-gh-pages.yml
---
.github/workflows/jekyll-gh-pages.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml
index 1784ec3..a81b7b4 100644
--- a/.github/workflows/jekyll-gh-pages.yml
+++ b/.github/workflows/jekyll-gh-pages.yml
@@ -25,12 +25,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
+ - name: Checkout
+ uses: actions/checkout@v3
- name: SetSecret
run: |
sed -i "s/TOKEN/${{secrets.GIT_TOKEN}}/g" "${{ github.workspace }}/script.js"
echo ${{github.workspace}}
- - name: Checkout
- uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Build with Jekyll
From edc9eaffc89128faafec62e00f9629ae959a02f3 Mon Sep 17 00:00:00 2001
From: Ambushfall <95249049+Ambushfall@users.noreply.github.com>
Date: Wed, 28 Dec 2022 14:33:24 +0100
Subject: [PATCH 15/17] Delete .github/workflows directory
---
.github/workflows/jekyll-gh-pages.yml | 54 ---------------------------
1 file changed, 54 deletions(-)
delete mode 100644 .github/workflows/jekyll-gh-pages.yml
diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml
deleted file mode 100644
index a81b7b4..0000000
--- a/.github/workflows/jekyll-gh-pages.yml
+++ /dev/null
@@ -1,54 +0,0 @@
-# Sample workflow for building and deploying a Jekyll site to GitHub Pages
-name: Deploy Jekyll with GitHub Pages dependencies preinstalled
-
-on:
- # Runs on pushes targeting the default branch
- push:
- branches: ["main"]
-
- # Allows you to run this workflow manually from the Actions tab
- workflow_dispatch:
-
-# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
-permissions:
- contents: read
- pages: write
- id-token: write
-
-# Allow one concurrent deployment
-concurrency:
- group: "pages"
- cancel-in-progress: true
-
-jobs:
- # Build job
- build:
- runs-on: ubuntu-latest
- steps:
- - name: Checkout
- uses: actions/checkout@v3
- - name: SetSecret
- run: |
- sed -i "s/TOKEN/${{secrets.GIT_TOKEN}}/g" "${{ github.workspace }}/script.js"
- echo ${{github.workspace}}
- - name: Setup Pages
- uses: actions/configure-pages@v2
- - name: Build with Jekyll
- uses: actions/jekyll-build-pages@v1
- with:
- source: ./
- destination: ./_site
- - name: Upload artifact
- uses: actions/upload-pages-artifact@v1
-
- # Deployment job
- deploy:
- environment:
- name: github-pages
- url: ${{ steps.deployment.outputs.page_url }}
- runs-on: ubuntu-latest
- needs: build
- steps:
- - name: Deploy to GitHub Pages
- id: deployment
- uses: actions/deploy-pages@v1
From 7fef3e4e25b5c9b3e3f4188a5743e72b29e683c1 Mon Sep 17 00:00:00 2001
From: Ambushfall <95249049+Ambushfall@users.noreply.github.com>
Date: Wed, 28 Dec 2022 14:33:36 +0100
Subject: [PATCH 16/17] Update script.js
---
script.js | 1 -
1 file changed, 1 deletion(-)
diff --git a/script.js b/script.js
index e2bbb7e..f870ba9 100644
--- a/script.js
+++ b/script.js
@@ -4,7 +4,6 @@ const hideForks = false;
const repoList = document.querySelector('.repo-list');
const reposSection = document.querySelector('.repos');
const filterInput = document.querySelector('.filter-repos');
-const GITSECRET = "TOKEN"
// get information from github profile
const getProfile = async () => {
From 55eeb7a9cb4bc5eb49b9893d587eea5458e0b86f Mon Sep 17 00:00:00 2001
From: Ambushfall <95249049+Ambushfall@users.noreply.github.com>
Date: Sun, 7 May 2023 20:30:02 +0200
Subject: [PATCH 17/17] Update script.js
---
script.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/script.js b/script.js
index f870ba9..e7b1249 100644
--- a/script.js
+++ b/script.js
@@ -1,6 +1,6 @@
const username = 'Ambushfall';
const maxPages = 2;
-const hideForks = false;
+const hideForks = true;
const repoList = document.querySelector('.repo-list');
const reposSection = document.querySelector('.repos');
const filterInput = document.querySelector('.filter-repos');