https://github.com/itz-fork/parcel-gh-pages
Publish parcel sites to github pages
https://github.com/itz-fork/parcel-gh-pages
github-pages github-pages-parcel parcel parceljs
Last synced: 7 months ago
JSON representation
Publish parcel sites to github pages
- Host: GitHub
- URL: https://github.com/itz-fork/parcel-gh-pages
- Owner: Itz-fork
- License: gpl-3.0
- Created: 2023-12-05T06:39:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-05T06:50:27.000Z (over 2 years ago)
- Last Synced: 2024-12-28T00:46:42.419Z (over 1 year ago)
- Topics: github-pages, github-pages-parcel, parcel, parceljs
- Language: Shell
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# parcel-gh-pages
Script to publish sites using parcel js to github pages
## Usage
- [](https://github.com/Itz-fork/parcel-gh-pages/raw/main/src/publish.sh)
- Run the script (Use `chmod +x publish.sh` to make it an executable)
```sh
Usage:
bash publish
Arguments:
-f|--flags - Custom flags to pass on to parcel in double quotes. Defaults to \"\"
-pm|--pkgmn - Your package manager. Defaults to 'pnpm'
-m|--msg - Commit messsage. Defaults to 'build '
-b|--branch - Branch name. Defaults to 'gh-pages'
-nk|--no-keep - Resets git history for build branch if passed. Not recommended
-h|--help - Shows this message
```