github-pages-deploy-action
π Automatically deploy your project to GitHub Pages using GitHub Actions. This action can be configured to push your production-ready code into any branch you'd like.
νμΌ νμκΈ°
μ΅μ’ λ²μ λ€μ΄λ‘λ (.zip)- action.yml
- icon.png
- screenshot.png
- BUG.yml
- config.yml
- build.yml
- deploy.yml
- integration.yml
- label.yml
- production.yml
- release.yml
- sponsors.yml
- version.yml
- CODEOWNERS
- copilot-instructions.md
- dependabot.yml
- FUNDING.yml
- PULL_REQUEST_TEMPLATE.md
- release.yml
- core.js
- exec.js
- github.js
- io.js
- package.json
- env.js
- execute.test.ts
- git.test.ts
- main.test.ts
- ssh.test.ts
- util.test.ts
- worktree.error.test.ts
- worktree.test.ts
- .nojekyll
- image.jpg
- index.html
- constants.ts
- execute.ts
- git.ts
- lib.ts
- main.ts
- ssh.ts
- util.ts
- worktree.ts
- .gitignore
- .node-version
- .prettierignore
- .prettierrc.json
- action.yml
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- eslint.config.mjs
- jest.config.cjs
- LICENSE
- package-lock.json
- package.json
- README.md
- SECURITY.md
- tsconfig.json
- tsconfig.lint.json
π μ€μΉ κ°μ΄λ
1. μ½λ λ΄λ €λ°κΈ°
git clone https://github.com/JamesIves/github-pages-deploy-action
κΉνλΈμμ νλ‘μ νΈ μ½λ μ 체λ₯Ό λ΄ μ»΄ν¨ν°λ‘ λ΄λ €λ°μ΅λλ€.
cd github-pages-deploy-action
λ°©κΈ λ΄λ €λ°μ νλ‘μ νΈ ν΄λ μμΌλ‘ μ΄λν©λλ€.
2. Node.js
μ¬μ μΆμ²μ¬μ μ€λΉλ¬Ό
- name: Install and Build π§ # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
μ΄ λͺ λ Ήμ΄λ₯Ό ν°λ―Έλμ κ·Έλλ‘ μ λ ₯ν΄ μ€ννμΈμ.
npm ci
μ΄ λͺ λ Ήμ΄λ₯Ό ν°λ―Έλμ κ·Έλλ‘ μ λ ₯ν΄ μ€ννμΈμ.
npm run build
λ°°ν¬μ©μΌλ‘ μ½λλ₯Ό μ΅μ νν΄μ λΉλ νμΌμ μμ±ν©λλ€.
λͺ
λ Ήμ΄ μ€ν ν ν°λ―Έλμ λνλλ μ£Όμ(λ³΄ν΅ http://localhost:3000 νν)λ₯Ό λΈλΌμ°μ μμ μ΄μ΄λ³΄μΈμ.
μ΄ λ ν¬μ READMEμ μ ν μ€μ λͺ λ Ήμ΄λ₯Ό κ·Έλλ‘ κ°μ Έμμ΅λλ€.
// repository documentation
Was this content helpful?
(0 ratings)
