Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ade70d3851 | ||
|
|
abaaadb545 | ||
|
|
4f06df820b |
@@ -2,6 +2,15 @@
|
||||
|
||||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
||||
|
||||
## [3.5.4](https://github.com/peaceiris/actions-gh-pages/compare/v3.5.3...v3.5.4) (2020-03-16)
|
||||
|
||||
|
||||
### fix
|
||||
|
||||
* skip deployment on forks (#156) ([4f06df8](https://github.com/peaceiris/actions-gh-pages/commit/4f06df820b7a5882e2faef0e6929bb670140fba0)), closes [#156](https://github.com/peaceiris/actions-gh-pages/issues/156) [#153](https://github.com/peaceiris/actions-gh-pages/issues/153)
|
||||
|
||||
|
||||
|
||||
## [3.5.4-6](https://github.com/peaceiris/actions-gh-pages/compare/v3.5.4-5...v3.5.4-6) (2020-03-15)
|
||||
|
||||
|
||||
|
||||
@@ -1769,7 +1769,7 @@ function run() {
|
||||
const isForkRepository = github_1.context.payload.repository.fork;
|
||||
const isSkipOnFork = yield utils_1.skipOnFork(isForkRepository, inps.GithubToken, inps.DeployKey, inps.PersonalToken);
|
||||
if (isSkipOnFork) {
|
||||
core.warning('Action runs on fork and deploy_key or personal_token is empty, Skip deployment');
|
||||
core.warning('This action runs on a fork and not found auth token, Skip deployment');
|
||||
return;
|
||||
}
|
||||
const remoteURL = yield set_tokens_1.setTokens(inps);
|
||||
|
||||
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "actions-github-pages",
|
||||
"version": "3.5.4-6",
|
||||
"version": "3.5.4",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "actions-github-pages",
|
||||
"version": "3.5.4-6",
|
||||
"version": "3.5.4",
|
||||
"description": "GitHub Actions for GitHub Pages",
|
||||
"main": "lib/index.js",
|
||||
"engines": {
|
||||
|
||||
@@ -22,7 +22,7 @@ export async function run(): Promise<void> {
|
||||
);
|
||||
if (isSkipOnFork) {
|
||||
core.warning(
|
||||
'Action runs on fork and deploy_key or personal_token is empty, Skip deployment'
|
||||
'This action runs on a fork and not found auth token, Skip deployment'
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user