GitHub 계정GitHub account
웹페이지 파일을 보관할 저장소를 만듭니다.Create a repository to store your webpage files.
- 새 저장소 이름 예:
webpageExample repository name:webpage - 공개/비공개는 원하는 대로 선택Choose public or private as needed
웹페이지 배포 안내Webpage Deployment Guide
ChatGPT가 만들어준 웹페이지 배포용 ZIP 파일을 GitHub 저장소에 올리고, Vercel에 한 번만 연결하면 이후부터는 파일을 추가하거나 수정할 때마다 자동으로 배포됩니다.Upload the deployment ZIP files generated by ChatGPT to a GitHub repository, connect that repository to Vercel once, and every future file update can be deployed automatically.
처음에는 계정과 ZIP 파일만 있으면 됩니다. 명령어를 몰라도 GitHub 웹 화면에서 업로드할 수 있습니다.You only need accounts and the ZIP file. You can upload files through the GitHub web interface without command-line tools.
웹페이지 파일을 보관할 저장소를 만듭니다.Create a repository to store your webpage files.
webpageExample repository name: webpageGitHub 저장소와 연결해서 웹주소를 만듭니다.Connect your GitHub repository to create a live webpage URL.
ChatGPT가 만들어준 ZIP을 다운로드한 뒤 압축을 풉니다.Download the ZIP generated by ChatGPT and unzip it first.
프로젝트 폴더를 한 겹 더 넣지 말고, 아래 파일들이 저장소 첫 화면에 보여야 합니다.Do not upload an extra wrapper folder. These items should appear at the repository root.
GitHub 저장소 첫 화면에서 vercel.json, README.md, pages/가 보여야 합니다.At the repository root, you should see vercel.json, README.md, and pages/.
webpage/
vercel.json
README.md
pages/
sarang-49/
index.html
new-page-name/
index.html비어 있는 저장소라면 uploading an existing file을 누르세요. 이미 파일이 있다면 Add file → Upload files를 누르세요.If the repository is empty, click uploading an existing file. If it already has files, click Add file → Upload files.
다운로드한 ZIP을 먼저 압축 해제합니다.Extract the downloaded ZIP file first.
압축 푼 폴더 안의 vercel.json, README.md, pages/를 선택합니다.Select vercel.json, README.md, and pages/ inside the unzipped folder.
업로드 화면 아래쪽의 Commit changes 버튼을 누르면 저장소에 반영됩니다.Click Commit changes at the bottom of the upload page to save the files.
Vercel에서 GitHub 저장소를 한 번 연결하면, 이후 GitHub에 페이지를 추가하거나 수정할 때 자동으로 다시 배포됩니다.Once Vercel is connected to your GitHub repository, future GitHub updates can trigger new deployments automatically.
Vercel 대시보드에서 새 프로젝트를 만듭니다.Create a new project from the Vercel dashboard.
방금 업로드한 GitHub 저장소를 선택합니다. 저장소가 안 보이면 Vercel의 GitHub 권한을 확인하세요.Select the GitHub repository you uploaded. If it does not appear, check Vercel’s GitHub permissions.
정적 HTML 프로젝트라면 보통 빌드 명령어는 비워둬도 됩니다. Deploy 버튼을 누르면 주소가 생성됩니다.For a static HTML project, the build command can usually be left empty. Click Deploy to generate your URL.
새 페이지는 루트 index.html을 덮어쓰지 말고, pages/새페이지명/index.html로 추가합니다.Do not overwrite the root index.html. Add each new page as pages/new-page-name/index.html.
pages/
my-new-page/
index.html예를 들어 폴더명이 my-new-page라면 주소는 아래처럼 됩니다.For example, if the folder is my-new-page, the URL will look like this.
https://프로젝트명.vercel.app/pages/my-new-page/https://project-name.vercel.app/pages/my-new-page/대부분의 배포 문제는 폴더 위치가 한 겹 더 들어갔거나, ZIP 파일을 그대로 올렸을 때 생깁니다.Most deployment issues come from uploading the ZIP itself or placing files one folder too deep.
아니요. ZIP을 먼저 풀고, 그 안의 vercel.json, README.md, pages/를 올려야 합니다.No. Unzip it first, then upload vercel.json, README.md, and pages/.
pages/sarang-49처럼 보이는데 괜찮나요?GitHub shows pages/sarang-49. Is that okay?괜찮습니다. GitHub가 폴더 안에 파일이 하나뿐일 때 경로를 합쳐서 보여줄 수 있습니다. 클릭했을 때 안에 index.html이 있으면 정상입니다.Yes. GitHub may display nested folders as a combined path when there is only one file inside. If clicking it shows index.html, it is fine.
네. pages/new-page/index.html로 올리면 /pages/new-page/ 주소가 생깁니다. 같은 Vercel 프로젝트 안에 새 경로가 추가되는 방식입니다.Yes. If you upload pages/new-page/index.html, it becomes available at /pages/new-page/. It adds a new route inside the same Vercel project.
네. 기존 pages/페이지명/index.html을 수정해서 commit하면 Vercel이 다시 배포하고 같은 주소가 업데이트됩니다.Yes. Edit the existing pages/page-name/index.html, commit the change, and Vercel will redeploy the same URL.
GitHub 저장소 루트에 vercel.json, README.md, pages/가 있고, Vercel 프로젝트 상태가 Ready라면 배포가 완료된 것입니다. 이후에는 pages/새페이지명/index.html만 추가하면 새 페이지 주소가 생깁니다.If your GitHub repository root contains vercel.json, README.md, and pages/, and your Vercel project status is Ready, the deployment is complete. After that, add pages/new-page-name/index.html to create another page URL.