Update deps

This commit is contained in:
CrazyMax 2020-06-25 09:38:28 +02:00
parent 3604e9d98b
commit 867c18df2c
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
4 changed files with 9 additions and 9 deletions

4
dist/index.js generated vendored
View File

@ -1799,7 +1799,7 @@ function run() {
const author = core.getInput('author') || git.defaults.author;
const commitMessage = core.getInput('commit_message') || git.defaults.message;
const fqdn = core.getInput('fqdn');
const jekyll = /false/i.test(core.getInput('jekyll'));
const nojekyll = /false/i.test(core.getInput('jekyll'));
if (!fs.existsSync(buildDir)) {
core.setFailed('Build dir does not exist');
return;
@ -1841,7 +1841,7 @@ function run() {
core.info(`✍️ Writing ${fqdn} domain name to ${path.join(tmpdir, 'CNAME')}`);
yield fs.writeFileSync(path.join(tmpdir, 'CNAME'), fqdn.trim());
}
if (jekyll) {
if (nojekyll) {
core.info(`🚫 Disabling Jekyll support via ${path.join(tmpdir, '.nojekyll')}`);
yield fs.writeFileSync(path.join(tmpdir, '.nojekyll'), '');
}

View File

@ -29,7 +29,7 @@
"devDependencies": {
"@actions/io": "^1.0.2",
"@types/fs-extra": "^9.0.1",
"@types/node": "^14.0.13",
"@types/node": "^14.0.14",
"@zeit/ncc": "^0.22.3",
"prettier": "^2.0.5",
"typescript": "^3.9.5",

View File

@ -17,7 +17,7 @@ async function run() {
const author: string = core.getInput('author') || git.defaults.author;
const commitMessage: string = core.getInput('commit_message') || git.defaults.message;
const fqdn: string = core.getInput('fqdn');
const jekyll: boolean = /false/i.test(core.getInput('jekyll'));
const nojekyll: boolean = /false/i.test(core.getInput('jekyll'));
if (!fs.existsSync(buildDir)) {
core.setFailed('Build dir does not exist');
@ -64,7 +64,7 @@ async function run() {
await fs.writeFileSync(path.join(tmpdir, 'CNAME'), fqdn.trim());
}
if (jekyll) {
if (nojekyll) {
core.info(`🚫 Disabling Jekyll support via ${path.join(tmpdir, '.nojekyll')}`);
await fs.writeFileSync(path.join(tmpdir, '.nojekyll'), '');
}

View File

@ -26,10 +26,10 @@
dependencies:
"@types/node" "*"
"@types/node@*", "@types/node@^14.0.13":
version "14.0.13"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.0.13.tgz#ee1128e881b874c371374c1f72201893616417c9"
integrity sha512-rouEWBImiRaSJsVA+ITTFM6ZxibuAlTuNOCyxVbwreu6k6+ujs7DfnU9o+PShFhET78pMBl3eH+AGSI5eOTkPA==
"@types/node@*", "@types/node@^14.0.14":
version "14.0.14"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.0.14.tgz#24a0b5959f16ac141aeb0c5b3cd7a15b7c64cbce"
integrity sha512-syUgf67ZQpaJj01/tRTknkMNoBBLWJOBODF0Zm4NrXmiSuxjymFrxnTu1QVYRubhVkRcZLYZG8STTwJRdVm/WQ==
"@zeit/ncc@^0.22.3":
version "0.22.3"