Skip to content

update 2025 publications #17

update 2025 publications

update 2025 publications #17

Workflow file for this run

# .github/workflows/deploy.yml
name: Deploy to GitHub Pages
on:
push:
branches:
- master # main 브랜치에 푸시될 때 실행됩니다.
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22.6 # 사용하는 Node.js 버전에 맞게 변경
- name: Install dependencies
run: npm install # 또는 pnpm install, yarn install
- name: Build
run: npm run build # 또는 pnpm build, yarn build
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './build' # svelte.config.js에서 설정한 pages 디렉토리와 동일해야 합니다.
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4