You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `env` portion of the workflow **must** be configured before the action will work. Below you'll find a description of what each one does.
35
+
The `secrets` and `env` portion of the workflow **must** be configured before the action will work. Below you'll find a description of what each one does.
38
36
39
-
| Key | Value Information | Required |
40
-
| ------------- | ------------- | ------------- |
41
-
|`BUILD_SCRIPT`| If you require a build script to compile your code prior to pushing it you can add the script here. The Docker container which powers the action runs Node which means `npm` commands are valid. If you're using a static site generator such as Jekyll I'd suggest compiling the code prior to pushing it to your base branch. |**No**|
42
-
|`BRANCH`| This is the branch you wish to deploy to, for example `gh-pages` or `docs`. |**Yes**|
43
-
|`BASE_BRANCH`| The base branch of your repository which you'd like to checkout prior to deploying. This defaults to `master`. |**No**|
44
-
|`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. |**Yes**|
45
-
|`COMMIT_NAME`| Used to sign the commit, this should be your name. Defaults to `gh-pages-deploy@jives.dev`|**No**|
46
-
|`COMMIT_EMAIL`| Used to sign the commit, this should be your email. Defaults to `GitHub Pages Deployer`|**No**|
|`ACCESS_TOKEN`| In order for GitHub to trigger the rebuild of your page you must provide the action with a GitHub personal access token. You can [learn more about how to generate one here](https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line). This **should be stored as a secret.**|`secrets`|**Yes**|
40
+
|`BRANCH`| This is the branch you wish to deploy to, for example `gh-pages` or `docs`. |`env`|**Yes**|
41
+
|`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. |`env`|**Yes**|
42
+
|`BASE_BRANCH`| The base branch of your repository which you'd like to checkout prior to deploying. This defaults to `master`. |`env`|**No**|
43
+
|`BUILD_SCRIPT`| If you require a build script to compile your code prior to pushing it you can add the script here. The Docker container which powers the action runs Node which means `npm` commands are valid. If you're using a static site generator such as Jekyll I'd suggest compiling the code prior to pushing it to your base branch. |`env`|**No**|
44
+
|`COMMIT_NAME`| Used to sign the commit, this should be your name. If not provided it will default to `username@users.noreply.github.com`|`env`|**No**|
45
+
|`COMMIT_EMAIL`| Used to sign the commit, this should be your email. If not provided it will default to your username. |`env`|**No**|
47
46
48
-
With the action correctly configured you should see something similar to this in your GitHub action workflow editor.
47
+
With the action correctly configured you should see something similar to this in your GitHub actions workflow editor.
0 commit comments