refactor : 로그인 API 스펙 조정 #61
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 정적 콘텐츠를 GitHub 페이지에 배포하는 워크플로 | |
name: Deploy static content to Pages | |
on: | |
# 실행할 기본 브랜치 | |
push: | |
branches: [ "develop" ] | |
# GitHub Actions 탭에서 수동으로 이 워크플로우를 실행할 수 있음 | |
workflow_dispatch: | |
# 이 워크플로우에 GITHUB_TOKEN 권한 부여 설정 | |
permissions: | |
contents: read # 리포지토리 콘텐츠를 읽을 수 있는 권한 | |
pages: write # GitHub Pages에 콘텐츠를 쓸 수 있는 권한 | |
id-token: write # ID 토큰을 발급받을 수 있는 권한 | |
# 이 동시성 설정은 GitHub Pages에 대한 배포 작업이 동시에 여러 개 실행되지 않도록 제한 | |
# 이미 실행 중인 배포 작업이 완료될 때까지 기다림 | |
concurrency: | |
group: "pages" | |
cancel-in-progress: false # 현재 진행 중인 작업을 취소하지 않음 | |
jobs: | |
# Single deploy job since we're just deploying | |
deploy: | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Pages | |
uses: actions/configure-pages@v5 | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
# Upload entire repository | |
path: '.' | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 |