Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.