Skip to content

Commit

Permalink
Pages WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwo committed Aug 30, 2024
1 parent 511a113 commit fddf77c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Pages
on: push

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/configure-pages@v3
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: prototypes/basic/package-lock.json
- name: Build site
working-directory: ./prototypes/basic
run: |
coproc npm run dev &
while ! (echo >/dev/tcp/localhost/3000); do sleep 1; done
make -C ../../doc -j all
make -C ../../doc -j all
- name: Upload artifact
uses: actions/upload-pages-artifact@v2

0 comments on commit fddf77c

Please sign in to comment.