Skip to content

Commit

Permalink
Fix: 배포 관련 코드 수정 및 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
jihongeek committed Jun 22, 2024
1 parent 732cf02 commit 240e02e
Showing 1 changed file with 24 additions and 5 deletions.
29 changes: 24 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,30 @@
name: Deploy Project
name: Deploy Projects

on: [push]
on:
push:
branches: [$default-branch]
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build_and_test:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Upload Static Web Projects
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload Static Web Project Artifacts
uses: actions/upload-artifact@v4
with:
name: dist
Expand All @@ -23,4 +39,7 @@ jobs:
minkyong\2024-05-20
seungjin\week-3
seungjin\week-4
yoojin\site
yoojin\site
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 240e02e

Please sign in to comment.