8000 Merge branch 'dev' into releases/v3 · cauu/github-pages-deploy-action@c74c1d2 · GitHub
[go: up one dir, main page]

Skip to content

Commit c74c1d2

Browse files
committed
Merge branch 'dev' into releases/v3
2 parents 82eeb59 + f9f685c commit c74c1d2

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,11 @@ jobs:
2323
uses: JamesIves/github-pages-deploy-action@releases/v3
2424
with:
2525
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
26-
BASE_BRANCH: master # The branch the action should deploy from.
2726
BRANCH: gh-pages # The branch the action should deploy to.
2827
FOLDER: build # The folder the action should deploy.
2928
```
3029
31-
If you'd like to make it so the workflow only triggers on push events to specific branches then you can modify the `on` section. You'll still need to specify a `BASE_BRANCH` if you're deploying from a branch other than `master`.
30+
If you'd like to make it so the workflow only triggers on push events to specific branches then you can modify the `on` section.
3231

3332
```yml
3433
on:
@@ -107,8 +106,8 @@ Below you'll find a description of what each option does.
107106
| `GITHUB_TOKEN` | In order for GitHub to trigger the rebuild of your page you must provide the action with the repositories provided GitHub token. This can be referenced in the workflow `yml` file by using `${{ secrets.GITHUB_TOKEN }}`. Only required if an access token is **not** provided. **Please note there is currently an issue affecting the use of this token, [you can learn more here](https://github.com/JamesIves/github-pages-deploy-action/issues/5)**. | `secrets / with` | **Yes** |
108107
| `BRANCH` | This is the branch you wish to deploy to, for example `gh-pages` or `docs`. | `with` | **Yes** |
109108
| `FOLDER` | The folder in your repository that you want to deploy. If your build script compiles into a directory named `build` you'd put it here. **Folder paths cannot have a leading `/` or `./`**. If you wish to deploy the root directory you can place a `.` here. | `with` | **Yes** |
110-
| `BASE_BRANCH` | The base branch of your repository which you'd like to checkout prior to deploying. This defaults to the current commit that triggered the build followed by `master`. | `with` | **No** |
111109
| `TARGET_FOLDER` | If you'd like to push the contents of the deployment folder into a specific directory on the deployment branch you can specify it here. | `with` | **No** |
110+
| `BASE_BRANCH` | The base branch of your repository which you'd like to checkout prior to deploying. This defaults to the current commit [SHA](http://en.wikipedia.org/wiki/SHA-1) that triggered the build followed by `master`. This is useful for making deployments from another branch, and also may be neccersary when using a scheduled job. | `with` | **No** |
112111
| `CLEAN` | If your project generates hashed files on build you can use this option to automatically delete them from the deployment branch with each deploy. This option can be toggled on by setting it to `true`. | `with` | **No** |
113112
| `CLEAN_EXCLUDE` | If you need to use `CLEAN` but you'd like to preserve certain files or folders you can use this option. This should be formatted as an array but stored as a string. For example: `'["filename.js", "folder"]'` | `with` | **No** |
114113

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@
4545
"prettier": "^1.19.1",
4646
"ts-jest": "^24.2.0",
4747
"tslint": "^5.20.0",
48-
"typescript": "^3.7.3"
48+
"typescript": "^3.7.4"
4949
}
5050
}

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3140,9 +3140,9 @@ type-check@~0.3.2:
31403140
dependencies:
31413141
prelude-ls "~1.1.2"
31423142

3143-
typescript@^3.7.3:
3144-
version "3.7.3"
3145-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.3.tgz#b36840668a16458a7025b9eabfad11b66ab85c69"
3143+
typescript@^3.7.4:
3144+
version "3.7.4"
3145+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.4.tgz#1743a5ec5fef6a1fa9f3e4708e33c81c73876c19"
31463146

31473147
uglify-js@^3.1.4:
31483148
version "3.6.8"

0 commit comments

Comments
 (0)
0