diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2c234450..9d93dc96 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,20 +15,29 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + - uses: actions/setup-node@v4 with: node-version: 20 cache: npm - 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 + working-directory: /home/runner/work/DevilLib-Docs/DevilLib-Docs/my-website + run: | + ls + pwd - name: Upload Build Artifact uses: actions/upload-pages-artifact@v3 with: - path: build + path: my-website/build deploy: name: Deploy to GitHub Pages 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 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": {} +}