We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Next.js의 Incremental Static Regeneration (ISR) 기능을 활용하여 정적 페이지를 동적으로 업데이트하는 기능을 구현 GitHub Webhook을 사용하여 저장소의 변경사항이 있을 때마다 자동으로 페이지를 재생성
API 라우트 생성
pages/api/github-webhook.js
res.revalidate('/path/to/your/page')
GitHub Webhook 설정
https://your-site.com/api/github-webhook
application/json
보안 설정 (선택사항)
x-hub-signature-256
res.revalidate()
The text was updated successfully, but these errors were encountered:
NonamedBread
When branches are created from issues, their pull requests are automatically linked.
개요
Next.js의 Incremental Static Regeneration (ISR) 기능을 활용하여 정적 페이지를 동적으로 업데이트하는 기능을 구현
GitHub Webhook을 사용하여 저장소의 변경사항이 있을 때마다 자동으로 페이지를 재생성
목적
구현 계획
API 라우트 생성
pages/api/github-webhook.js
파일 생성res.revalidate('/path/to/your/page')
사용하여 페이지 재생성GitHub Webhook 설정
https://your-site.com/api/github-webhook
application/json
보안 설정 (선택사항)
x-hub-signature-256
헤더로 요청 진위성 검증기술 요구사항
res.revalidate()
함수 사용)주의사항
참고 자료
The text was updated successfully, but these errors were encountered: