Releases: JamesIves/github-pages-deploy-action
3.4.2
Minor Changes
- Dependency updates galore.
- Couple of README adjustments, including an icon! (I have a lot of spare time while in quarantine)
- The default commit message now includes
@
instead of-
when referencing the SHA. - The console logs now match the same styling that GitHub Actions use.
Credits
Thanks to @jakejarvis and @mathiasbynens for their contributions in this release.
3.4.1
Minor Changes
- Migrated from
tslint
toeslint
. Version bumped to3.4.1
due to a change in a named export:actionInterface
is nowActionInterface
.
3.3.2
Minor Changes
- Removed the
/lib
folder from the dev branch. NPM will now build this folder prior to publishing.
3.3.1
Major Changes
- Added the ability to import the package as a node module. You can now run
yarn install github-pages-deploy-action
and use the following inputs:
import run, {
init,
deploy,
generateBranch,
actionInterface
} from "github-pages-deploy-action";
Calling the functions directly will require you to pass in an object containing the variables found in the configuration section, you'll also need to provide a workspace
with a path to your project.
import run from "github-pages-deploy-action";
run({
folder: "build",
branch: "gh-pages",
workspace: "src/project/location",
accessToken: process.env["ACCESS_TOKEN"]
});
For more information regarding the action interface please click here.
-
Added the ability to specify a remote repository using the
REPOSITORY_NAME
option. This should be formatted like so:JamesIves/github-pages-deploy-action
. This gets populated by default in the actions environment, but may need to be overwritten if you want to deploy to a different remote. -
Improved error handling. It will now correctly provide the correct error message when the deployment fails, and will also stop early instead of running all the way through until it can't anymore.
-
By default the git commands are now hidden from the users view, and a number of console logs will instead provide the actions status. This can be overridden by applying the
DEBUG
flag.
Minor Changes
-
Added a number of helper functions that check the required action parameters, and suppress any sensitive information. This adds a fail safe incase either the actions environment doesn't properly hide a secret, or if the user is running the action via the node module.
-
Improved the overall number of tests.
-
Added the ability to modify the workspace path.
-
Added an
.nvmrc
file. -
Updated the
action.yml
file with the new configuration changes.
Special Thanks
Big thank you to @XAMPPRocky for all of their help testing these changes!
3.2.4
Minor Changes
- More bug fixes related to the npm publish command.
3.2.3
Minor Changes
- Couple of minor changes to the workflow.
3.2.2
Minor Changes
- Added a workflow for automatically publishing to npm.
3.2.1
Minor Changes
- Enabled the
GIT_CONFIG_NAME
andGIT_CONFIG_EMAIL
settings that let you customize the commit signing.
3.2.0
Major Changes
- 🔑 Added support for SSH Deploy Keys. You can learn how to utilize these here.
- Massively improved test coverage and enabled CodeCov. Along with this came a good amount of code cleanup.
- Improved the integration tests dramatically. There's now a suite of 10 integration tests that run on each merge to ensure that the action remains functional. These test all versions of
checkout
, environment setups, and ssh deployments.
Minor Changes
- Enabled support for
actions/checkout@v2
. - Added the ability to customize the commit message.
- Overhauled the README so it's more organized and concise.
- Fixed the metadata in the
action.yml
file so it's now correctly formatted and includes all of the input options. - Added a CODEOWNERS file.
- Added automatic label generation on all issue templates.
- Improved the error handling so it's easier to figure out what went wrong if the action were to fail.
3.1.5
Minor Changes
- Fixed another issue related to
git fetch
.