You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Deploy React to GitHub Pages
v1.0.0
GitHub action to build and deploy React to GitHub Pages. This uses the new GitHub Actions method as the source. In the repository settings, go to Pages. Under Source, select GitHub Actions. No further configuration is needed.
The following inputs can be used as step.with
keys
Name | Type | Description |
---|---|---|
checkout |
T/F | Set to false if the code is already checked out (Default is true ) (Optional) |
Create .github/workflow/deploy.yaml
with the following to build on push.
on:
push:
branches:
- 'main'
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- id: build-publish
uses: bitovi/github-actions-react-to-ghp@v1.0.0
We would love for you to contribute to bitovi/github-actions-react-to-ghp
. Issues and Pull Requests are welcome!
The scripts and documentation in this project are released under the MIT License.
Bitovi is a proud supporter of Open Source software.