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.
File Explorer
Download Latest Version (.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
π Installation Guide
1. Get the code
git clone https://github.com/JamesIves/github-pages-deploy-action
Downloads the entire project code from GitHub to your computer.
cd github-pages-deploy-action
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
- 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.
Type this command into your terminal and run it.
npm ci
Type this command into your terminal and run it.
npm run build
Builds optimized production files.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
