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
32 changes: 32 additions & 0 deletions .github/workflows/githubpages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: github pages
on:
push:
branches:
- lab
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v4
- name: setup node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: install dependencies
run: npm install
- name: build the webpages
run: npm run build
- name: deploy to github pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secret.github_token }}
publish_dir: ./build








2 changes: 1 addition & 1 deletion .github/workflows/steupnodjs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: push

jobs:
build:
runs-on: unbuntu-latest
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v4
Expand Down
Loading