Skip to content

test image-path and link path #11

test image-path and link path

test image-path and link path #11

Workflow file for this run

on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: setup nodejs 20
uses: actions/setup-node@v4
with:
node-version: '20.10.x'
- name: cache npm deps
uses: actions/cache@v4
with:
path: node_modules
key: ${{runner.OS}}-npm-cache
restore-keys: |
${{runner.OS}}-npm-cache
- name: install deps
run: npm install
- name: build
run: npm run build
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./public
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
runs-on: ubuntu-latest
steps:
- name: Deploy to Github pages
id: deployment
uses: actions/deploy-pages@v4