Skip to content

Commit

Permalink
ci: CI 정상화
Browse files Browse the repository at this point in the history
  • Loading branch information
dungsil committed Sep 23, 2024
1 parent db990f6 commit 65317f8
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/KYG.kr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: KYG.kr
concurrency: KYG.kr
on:
workflow_dispatch:
push:
branches:
- main

jobs:
build:
name: Build
runs-on: ubuntu-latest
environment: KYG.kr
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: pnpm/action-setup@v3
with:
version: 8
run_install: true
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- run: pnpm build
- uses: actions/upload-pages-artifact@v3
with:
path: ./dist
deploy:
name: Deploy
runs-on: ubuntu-latest
environment:
name: kyg.kr
url: ${{ steps.deployment.outputs.page_url }}
permissions:
contents: read
pages: write
id-token: write
needs: [ "build" ]
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 65317f8

Please sign in to comment.