From 0632e34d49507e1003181e2f502b0781885a3920 Mon Sep 17 00:00:00 2001 From: EliCurl Date: Tue, 21 Oct 2025 19:52:52 -0500 Subject: [PATCH 1/9] Add lock file --- package-lock.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 package-lock.json diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 00000000..18ebbfe2 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,6 @@ +{ + "name": "DevilLib-Docs", + "lockfileVersion": 3, + "requires": true, + "packages": {} +} From f7f4f27580f4ecd82bccc15ce50fb16899f60681 Mon Sep 17 00:00:00 2001 From: EliCurl Date: Thu, 23 Oct 2025 18:17:16 -0500 Subject: [PATCH 2/9] Testing deploy.yml Trying to find directory --- .github/workflows/deploy.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2c234450..4d700988 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,7 +15,14 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + + - name: test + run: | + ls + pwd + - uses: actions/setup-node@v4 + working-directory: ./website with: node-version: 20 cache: npm From b40dd1de49454380ae6bd021173c395b0eb03a9a Mon Sep 17 00:00:00 2001 From: EliCurl Date: Thu, 23 Oct 2025 18:18:26 -0500 Subject: [PATCH 3/9] Update deploy.yml --- .github/workflows/deploy.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4d700988..38d6ec8f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,7 +22,6 @@ jobs: pwd - uses: actions/setup-node@v4 - working-directory: ./website with: node-version: 20 cache: npm From 8dd68ebc858bfa92f8265e209614440aa57039e2 Mon Sep 17 00:00:00 2001 From: EliCurl Date: Thu, 23 Oct 2025 18:22:55 -0500 Subject: [PATCH 4/9] Update deploy.yml --- .github/workflows/deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 38d6ec8f..fa03b76e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -27,6 +27,7 @@ jobs: cache: npm - name: Install dependencies + working-directory: ./my-website run: npm ci - name: Build website run: npm run build From ddec67b6ad80c1fc0f50becc69d97ce9bafd4fd7 Mon Sep 17 00:00:00 2001 From: EliCurl Date: Thu, 23 Oct 2025 18:26:50 -0500 Subject: [PATCH 5/9] Update deploy.yml --- .github/workflows/deploy.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index fa03b76e..7c5436e6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - DevBranch # Review gh actions docs if you want to further define triggers, paths, etc # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on @@ -16,18 +17,18 @@ jobs: with: fetch-depth: 0 - - name: test - run: | - ls - pwd - - uses: actions/setup-node@v4 with: node-version: 20 cache: npm + - name: test + run: | + ls + pwd + - name: Install dependencies - working-directory: ./my-website + working-directory: /home/runner/work/DevilLib-Docs/DevilLib-Docs/my-website run: npm ci - name: Build website run: npm run build From caa4c62791495736a4b09ea8fa596d8e426d6910 Mon Sep 17 00:00:00 2001 From: EliCurl Date: Thu, 23 Oct 2025 18:30:27 -0500 Subject: [PATCH 6/9] Update deploy.yml --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7c5436e6..eb2397ea 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,7 +3,6 @@ name: Deploy to GitHub Pages on: push: branches: - - main - DevBranch # Review gh actions docs if you want to further define triggers, paths, etc # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on @@ -31,6 +30,7 @@ jobs: working-directory: /home/runner/work/DevilLib-Docs/DevilLib-Docs/my-website run: npm ci - name: Build website + working-directory: /home/runner/work/DevilLib-Docs/DevilLib-Docs/my-website run: npm run build - name: Upload Build Artifact From a175d504ed558b406ea7fe0cc67ddec2423d372f Mon Sep 17 00:00:00 2001 From: EliCurl Date: Thu, 23 Oct 2025 18:33:24 -0500 Subject: [PATCH 7/9] Doing more changes --- .github/workflows/deploy.yml | 10 +++++----- .github/workflows/test-deploy.yml | 2 ++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index eb2397ea..7376e668 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,17 +21,17 @@ jobs: node-version: 20 cache: npm - - name: test - run: | - ls - pwd - - name: Install dependencies working-directory: /home/runner/work/DevilLib-Docs/DevilLib-Docs/my-website run: npm ci - name: Build website working-directory: /home/runner/work/DevilLib-Docs/DevilLib-Docs/my-website run: npm run build + + - name: test + run: | + ls + pwd - name: Upload Build Artifact uses: actions/upload-pages-artifact@v3 diff --git a/.github/workflows/test-deploy.yml b/.github/workflows/test-deploy.yml index 1393d076..6e6254c9 100644 --- a/.github/workflows/test-deploy.yml +++ b/.github/workflows/test-deploy.yml @@ -22,5 +22,7 @@ jobs: - name: Install dependencies run: npm ci + working-directory: /home/runner/work/DevilLib-Docs/DevilLib-Docs/my-website - name: Test build website + working-directory: /home/runner/work/DevilLib-Docs/DevilLib-Docs/my-website run: npm run build \ No newline at end of file From 6645587d65da07a4ed929fd54029da2248de995c Mon Sep 17 00:00:00 2001 From: EliCurl Date: Thu, 23 Oct 2025 18:36:28 -0500 Subject: [PATCH 8/9] change build pointer --- .github/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7376e668..f4f61d74 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -29,6 +29,7 @@ jobs: run: npm run build - name: test + working-directory: /home/runner/work/DevilLib-Docs/DevilLib-Docs/my-website run: | ls pwd @@ -36,7 +37,7 @@ jobs: - name: Upload Build Artifact uses: actions/upload-pages-artifact@v3 with: - path: build + path: my-website/build deploy: name: Deploy to GitHub Pages From 97729934fa8afb13448edbd290ee6c268e82adbc Mon Sep 17 00:00:00 2001 From: EliCurl Date: Thu, 23 Oct 2025 18:43:16 -0500 Subject: [PATCH 9/9] getting ready to see it work --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f4f61d74..9d93dc96 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,7 +3,7 @@ name: Deploy to GitHub Pages on: push: branches: - - DevBranch + - main # Review gh actions docs if you want to further define triggers, paths, etc # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on