Skip to content

Commit

Permalink
Update pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nleanba authored Oct 29, 2024
1 parent c620561 commit 8a86bf9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,17 @@ jobs:
with:
ref: synolib2
path: 'synolib2'
- run: cd synolib2
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: cd synolib2
- run: npm ci
- run: npm run example build
- run: mkdir ../build/next
- run: cp ./example/index.js ./example/index.css ./example/index.html ./example/index.js.map ../build/next/
- run: cd ..
- run: |
mkdir ../build/next
cp ./example/index.js ./example/index.css ./example/index.html ./example/index.js.map ../build/next/
cd ..
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
Expand Down

0 comments on commit 8a86bf9

Please sign in to comment.