From 8d9e6d0cae744b75ce5cbf63dff538e31db8834b Mon Sep 17 00:00:00 2001 From: "gitauto-for-dev[bot]" <160085510+gitauto-for-dev[bot]@users.noreply.github.com> Date: Wed, 1 Jan 2025 07:00:05 +0000 Subject: [PATCH 01/22] Update .github/workflows/generate-sitemap.yml --- .github/workflows/generate-sitemap.yml | 34 ++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/generate-sitemap.yml diff --git a/.github/workflows/generate-sitemap.yml b/.github/workflows/generate-sitemap.yml new file mode 100644 index 0000000..a794a4e --- /dev/null +++ b/.github/workflows/generate-sitemap.yml @@ -0,0 +1,34 @@ +name: Generate Sitemap + +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Setup Node.js + uses: actions/setup-node@v2 + with: + node-version: '16' + + - name: Install dependencies + run: npm install + + - name: Generate Sitemap + run: npx next-sitemap + + - name: Commit sitemap + run: | + git config --local user.name 'github-actions' + git config --local user.email 'github-actions@github.com' + git add ./public/sitemap.xml + git commit -m 'chore: update sitemap' || echo 'No changes to commit' + git push origin main \ No newline at end of file From 6172c7ab38399e3fcc3c74aebb9d513a7a1daff8 Mon Sep 17 00:00:00 2001 From: "gitauto-for-dev[bot]" <160085510+gitauto-for-dev[bot]@users.noreply.github.com> Date: Wed, 1 Jan 2025 07:00:18 +0000 Subject: [PATCH 02/22] Update package.json --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index 827f040..9a2db15 100644 --- a/package.json +++ b/package.json @@ -47,6 +47,7 @@ "swr": "^2.2.5", "uuid": "^11.0.3", "zod": "^3.23.8" + "next-sitemap": "^4.2.3" }, "devDependencies": { "@types/jsonwebtoken": "^9.0.6", @@ -60,5 +61,6 @@ "prisma": "^5.16.1", "tailwindcss": "^3.4.15", "typescript": "^5.5.3" + "next-sitemap": "^4.2.3" } } From cb20293c8cc17eafb6879c92cdcbd11cd6f01eda Mon Sep 17 00:00:00 2001 From: "gitauto-for-dev[bot]" <160085510+gitauto-for-dev[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 09:03:18 +0000 Subject: [PATCH 03/22] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9a2db15..4317d24 100644 --- a/package.json +++ b/package.json @@ -47,6 +47,7 @@ "swr": "^2.2.5", "uuid": "^11.0.3", "zod": "^3.23.8" + "next-sitemap": "^4.2.3", "next-sitemap": "^4.2.3" }, "devDependencies": { @@ -61,6 +62,5 @@ "prisma": "^5.16.1", "tailwindcss": "^3.4.15", "typescript": "^5.5.3" - "next-sitemap": "^4.2.3" } } From 6bc3a6679a04c60fa055a5b08bcb3fc56e854e59 Mon Sep 17 00:00:00 2001 From: "gitauto-for-dev[bot]" <160085510+gitauto-for-dev[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 09:14:19 +0000 Subject: [PATCH 04/22] Update package.json --- package.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/package.json b/package.json index 4317d24..827f040 100644 --- a/package.json +++ b/package.json @@ -47,8 +47,6 @@ "swr": "^2.2.5", "uuid": "^11.0.3", "zod": "^3.23.8" - "next-sitemap": "^4.2.3", - "next-sitemap": "^4.2.3" }, "devDependencies": { "@types/jsonwebtoken": "^9.0.6", From 525196a41789c31422b84be93760ee89d9a7854b Mon Sep 17 00:00:00 2001 From: "gitauto-for-dev[bot]" <160085510+gitauto-for-dev[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 09:40:10 +0000 Subject: [PATCH 05/22] Update package.json --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 827f040..79fe1b5 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "@fortawesome/free-solid-svg-icons": "^6.7.1", "@fortawesome/react-fontawesome": "^0.2.0", "@intercom/messenger-js-sdk": "^0.0.11", + "next-sitemap": "^3.1.0", "@mdx-js/loader": "^3.0.1", "@mdx-js/react": "^3.0.1", "@next/mdx": "^15.0.3", From 6895f26814c7382982ae3abe778db6285bacd53f Mon Sep 17 00:00:00 2001 From: "gitauto-for-dev[bot]" <160085510+gitauto-for-dev[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 09:47:08 +0000 Subject: [PATCH 06/22] Update .github/workflows/generate-sitemap.yml --- .github/workflows/generate-sitemap.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/generate-sitemap.yml b/.github/workflows/generate-sitemap.yml index a794a4e..0cae615 100644 --- a/.github/workflows/generate-sitemap.yml +++ b/.github/workflows/generate-sitemap.yml @@ -22,6 +22,7 @@ jobs: - name: Install dependencies run: npm install + - name: Install next-sitemap - name: Generate Sitemap run: npx next-sitemap @@ -31,4 +32,4 @@ jobs: git config --local user.email 'github-actions@github.com' git add ./public/sitemap.xml git commit -m 'chore: update sitemap' || echo 'No changes to commit' - git push origin main \ No newline at end of file + git push origin main From 70173a139a307b7067d664c7c7e4f0139c2f0f13 Mon Sep 17 00:00:00 2001 From: "gitauto-for-dev[bot]" <160085510+gitauto-for-dev[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 12:12:34 +0000 Subject: [PATCH 07/22] Update package.json --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index 79fe1b5..827f040 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,6 @@ "@fortawesome/free-solid-svg-icons": "^6.7.1", "@fortawesome/react-fontawesome": "^0.2.0", "@intercom/messenger-js-sdk": "^0.0.11", - "next-sitemap": "^3.1.0", "@mdx-js/loader": "^3.0.1", "@mdx-js/react": "^3.0.1", "@next/mdx": "^15.0.3", From 9805aace7886a83ed40ec982e63a66ee4a35315f Mon Sep 17 00:00:00 2001 From: "gitauto-for-dev[bot]" <160085510+gitauto-for-dev[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 12:12:45 +0000 Subject: [PATCH 08/22] Update .github/workflows/generate-sitemap.yml --- .github/workflows/generate-sitemap.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/generate-sitemap.yml b/.github/workflows/generate-sitemap.yml index 0cae615..1b0596e 100644 --- a/.github/workflows/generate-sitemap.yml +++ b/.github/workflows/generate-sitemap.yml @@ -22,8 +22,6 @@ jobs: - name: Install dependencies run: npm install - - name: Install next-sitemap - - name: Generate Sitemap run: npx next-sitemap - name: Commit sitemap From 4a2e87f39851163444fd6d737e02e127754ee008 Mon Sep 17 00:00:00 2001 From: "gitauto-for-dev[bot]" <160085510+gitauto-for-dev[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 12:13:39 +0000 Subject: [PATCH 09/22] Update .github/workflows/generate-sitemap.yml --- .github/workflows/generate-sitemap.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/generate-sitemap.yml b/.github/workflows/generate-sitemap.yml index 1b0596e..0ff7ce4 100644 --- a/.github/workflows/generate-sitemap.yml +++ b/.github/workflows/generate-sitemap.yml @@ -24,6 +24,12 @@ jobs: run: npx next-sitemap + - name: Install next-sitemap + run: npm install next-sitemap + + - name: Generate Sitemap + run: npx next-sitemap + - name: Commit sitemap run: | git config --local user.name 'github-actions' From 86f8d50c1f2fb4cfabad0c543f645c647d21cf0e Mon Sep 17 00:00:00 2001 From: "gitauto-for-dev[bot]" <160085510+gitauto-for-dev[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 12:18:50 +0000 Subject: [PATCH 10/22] Update .github/workflows/generate-sitemap.yml --- .github/workflows/generate-sitemap.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate-sitemap.yml b/.github/workflows/generate-sitemap.yml index 0ff7ce4..c821889 100644 --- a/.github/workflows/generate-sitemap.yml +++ b/.github/workflows/generate-sitemap.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Node.js uses: actions/setup-node@v2 From 6c0e80c733fb0e63f849f208b47fb33d110292f9 Mon Sep 17 00:00:00 2001 From: "gitauto-for-dev[bot]" <160085510+gitauto-for-dev[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 12:19:01 +0000 Subject: [PATCH 11/22] Update .github/workflows/generate-sitemap.yml --- .github/workflows/generate-sitemap.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate-sitemap.yml b/.github/workflows/generate-sitemap.yml index c821889..9cf6d01 100644 --- a/.github/workflows/generate-sitemap.yml +++ b/.github/workflows/generate-sitemap.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v3 - name: Setup Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: '16' From ad9864395ddeed290938dccfe6fca5ae64d8c041 Mon Sep 17 00:00:00 2001 From: "gitauto-for-dev[bot]" <160085510+gitauto-for-dev[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 12:19:44 +0000 Subject: [PATCH 12/22] Update .github/workflows/generate-sitemap.yml --- .github/workflows/generate-sitemap.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate-sitemap.yml b/.github/workflows/generate-sitemap.yml index 9cf6d01..b326e2a 100644 --- a/.github/workflows/generate-sitemap.yml +++ b/.github/workflows/generate-sitemap.yml @@ -17,7 +17,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v3 with: - node-version: '16' + node-version: 'lts/*' - name: Install dependencies run: npm install From c7c058f371d01a9626992c786e8e2f9c230ab3e3 Mon Sep 17 00:00:00 2001 From: "gitauto-for-dev[bot]" <160085510+gitauto-for-dev[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 12:21:56 +0000 Subject: [PATCH 13/22] Update .github/workflows/generate-sitemap.yml --- .github/workflows/generate-sitemap.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/generate-sitemap.yml b/.github/workflows/generate-sitemap.yml index b326e2a..067efc5 100644 --- a/.github/workflows/generate-sitemap.yml +++ b/.github/workflows/generate-sitemap.yml @@ -22,7 +22,6 @@ jobs: - name: Install dependencies run: npm install - run: npx next-sitemap - name: Install next-sitemap run: npm install next-sitemap From 68ac7d8caae4c319fa038519ad8aa70760781c97 Mon Sep 17 00:00:00 2001 From: "Hiroshi (Wes) Nishio" Date: Fri, 3 Jan 2025 21:28:48 +0900 Subject: [PATCH 14/22] Update generate-sitemap.yml Remove an unnecessary blank line --- .github/workflows/generate-sitemap.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/generate-sitemap.yml b/.github/workflows/generate-sitemap.yml index 067efc5..c3e0c53 100644 --- a/.github/workflows/generate-sitemap.yml +++ b/.github/workflows/generate-sitemap.yml @@ -22,7 +22,6 @@ jobs: - name: Install dependencies run: npm install - - name: Install next-sitemap run: npm install next-sitemap From ab617c079bf77255ecc383e1a09d9771ec6ac656 Mon Sep 17 00:00:00 2001 From: "gitauto-for-dev[bot]" <160085510+gitauto-for-dev[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 12:31:37 +0000 Subject: [PATCH 15/22] Update .github/workflows/generate-sitemap.yml --- .github/workflows/generate-sitemap.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate-sitemap.yml b/.github/workflows/generate-sitemap.yml index c3e0c53..834f65d 100644 --- a/.github/workflows/generate-sitemap.yml +++ b/.github/workflows/generate-sitemap.yml @@ -1,7 +1,7 @@ name: Generate Sitemap on: - push: + pull_request: branches: - main workflow_dispatch: From 75ec79af6f9d9d01bfd6a678e00050fcf764a987 Mon Sep 17 00:00:00 2001 From: "gitauto-for-dev[bot]" <160085510+gitauto-for-dev[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 12:33:06 +0000 Subject: [PATCH 16/22] Update .github/workflows/generate-sitemap.yml --- .github/workflows/generate-sitemap.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate-sitemap.yml b/.github/workflows/generate-sitemap.yml index 834f65d..52aa848 100644 --- a/.github/workflows/generate-sitemap.yml +++ b/.github/workflows/generate-sitemap.yml @@ -32,6 +32,6 @@ jobs: run: | git config --local user.name 'github-actions' git config --local user.email 'github-actions@github.com' - git add ./public/sitemap.xml + git add ./app/sitemap.xml git commit -m 'chore: update sitemap' || echo 'No changes to commit' git push origin main From 6cbb7f8a70802f64196b5f59d6bf3db34d2e67dd Mon Sep 17 00:00:00 2001 From: "gitauto-for-dev[bot]" <160085510+gitauto-for-dev[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 12:44:48 +0000 Subject: [PATCH 17/22] Update .github/workflows/generate-sitemap.yml --- .github/workflows/generate-sitemap.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/generate-sitemap.yml b/.github/workflows/generate-sitemap.yml index 52aa848..8c1ca71 100644 --- a/.github/workflows/generate-sitemap.yml +++ b/.github/workflows/generate-sitemap.yml @@ -13,6 +13,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 + with: + ref: ${{ github.ref }} - name: Setup Node.js uses: actions/setup-node@v3 @@ -34,4 +36,4 @@ jobs: git config --local user.email 'github-actions@github.com' git add ./app/sitemap.xml git commit -m 'chore: update sitemap' || echo 'No changes to commit' - git push origin main + git push origin HEAD From 256a7b7ce4f09cd1d88a5144439d40f12aab19ae Mon Sep 17 00:00:00 2001 From: "gitauto-for-dev[bot]" <160085510+gitauto-for-dev[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 12:51:00 +0000 Subject: [PATCH 18/22] Update .github/workflows/generate-sitemap.yml --- .github/workflows/generate-sitemap.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate-sitemap.yml b/.github/workflows/generate-sitemap.yml index 8c1ca71..95b8bc1 100644 --- a/.github/workflows/generate-sitemap.yml +++ b/.github/workflows/generate-sitemap.yml @@ -14,7 +14,7 @@ jobs: - name: Checkout code uses: actions/checkout@v3 with: - ref: ${{ github.ref }} + ref: main - name: Setup Node.js uses: actions/setup-node@v3 From 28fb34ac2ecfd487bd6e4287d1542c6cfa493392 Mon Sep 17 00:00:00 2001 From: "gitauto-for-dev[bot]" <160085510+gitauto-for-dev[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 12:51:11 +0000 Subject: [PATCH 19/22] Update .github/workflows/generate-sitemap.yml --- .github/workflows/generate-sitemap.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/generate-sitemap.yml b/.github/workflows/generate-sitemap.yml index 95b8bc1..0fe2d30 100644 --- a/.github/workflows/generate-sitemap.yml +++ b/.github/workflows/generate-sitemap.yml @@ -1,4 +1,7 @@ name: Generate Sitemap +permissions: + contents: write + on: pull_request: From f7199c33c3b9790c09c336e22ebfc2459b61caa8 Mon Sep 17 00:00:00 2001 From: "gitauto-for-dev[bot]" <160085510+gitauto-for-dev[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 12:51:23 +0000 Subject: [PATCH 20/22] Update .github/workflows/generate-sitemap.yml --- .github/workflows/generate-sitemap.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate-sitemap.yml b/.github/workflows/generate-sitemap.yml index 0fe2d30..62b9517 100644 --- a/.github/workflows/generate-sitemap.yml +++ b/.github/workflows/generate-sitemap.yml @@ -39,4 +39,4 @@ jobs: git config --local user.email 'github-actions@github.com' git add ./app/sitemap.xml git commit -m 'chore: update sitemap' || echo 'No changes to commit' - git push origin HEAD + git push origin main From a50615b828b2c8c6ccd00d5f6a24a7a5ee03e434 Mon Sep 17 00:00:00 2001 From: "gitauto-for-dev[bot]" <160085510+gitauto-for-dev[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 12:53:40 +0000 Subject: [PATCH 21/22] Update .github/workflows/generate-sitemap.yml --- .github/workflows/generate-sitemap.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate-sitemap.yml b/.github/workflows/generate-sitemap.yml index 62b9517..103ffe7 100644 --- a/.github/workflows/generate-sitemap.yml +++ b/.github/workflows/generate-sitemap.yml @@ -17,7 +17,7 @@ jobs: - name: Checkout code uses: actions/checkout@v3 with: - ref: main + ref: ${{ github.head_ref }} - name: Setup Node.js uses: actions/setup-node@v3 From e8abfdaa0ddb2f8b19ebe5eb8b852faa3b098e3c Mon Sep 17 00:00:00 2001 From: "gitauto-for-dev[bot]" <160085510+gitauto-for-dev[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 12:53:50 +0000 Subject: [PATCH 22/22] Update .github/workflows/generate-sitemap.yml --- .github/workflows/generate-sitemap.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate-sitemap.yml b/.github/workflows/generate-sitemap.yml index 103ffe7..bf71c5a 100644 --- a/.github/workflows/generate-sitemap.yml +++ b/.github/workflows/generate-sitemap.yml @@ -39,4 +39,4 @@ jobs: git config --local user.email 'github-actions@github.com' git add ./app/sitemap.xml git commit -m 'chore: update sitemap' || echo 'No changes to commit' - git push origin main + git push origin ${{ github.head_ref }}