mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
Update CONTRIBUTING.md
This commit is contained in:
parent
7f8bf1bd16
commit
d7733281f1
@ -8,3 +8,21 @@ email, or any other method with the owners of this repository before making a ch
|
|||||||
1. Ensure that you've tested your feature/change yourself. As the primary focus of this project is deployment, providing a link to a deployed repository using your branch is preferred. You can reference the forked action using your GitHub username, for example `yourname/github-pages-deplpy-action@master`.
|
1. Ensure that you've tested your feature/change yourself. As the primary focus of this project is deployment, providing a link to a deployed repository using your branch is preferred. You can reference the forked action using your GitHub username, for example `yourname/github-pages-deplpy-action@master`.
|
||||||
2. Make sure you update the README if you've made a change that requires documentation.
|
2. Make sure you update the README if you've made a change that requires documentation.
|
||||||
3. When making a pull request, highlight any areas that may cause a breaking change so the maintainer can update the version number accordingly on the GitHub marketplace.
|
3. When making a pull request, highlight any areas that may cause a breaking change so the maintainer can update the version number accordingly on the GitHub marketplace.
|
||||||
|
|
||||||
|
# Deploying
|
||||||
|
|
||||||
|
In order to deploy and test your own fork of this action, you must commit the required `node_modules` dependencies.
|
||||||
|
|
||||||
|
To do this you can follow the instructions below:
|
||||||
|
|
||||||
|
```
|
||||||
|
# comment out in distribution branches
|
||||||
|
# node_modules/
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
$ git checkout -b branchnamehere
|
||||||
|
$ git commit -a -m "prod dependencies"
|
||||||
|
```
|
||||||
|
|
||||||
|
The `node_modules` folder should _not_ be included when making a pull request.
|
Loading…
Reference in New Issue
Block a user