Update deps
This commit is contained in:
parent
3604e9d98b
commit
867c18df2c
4
dist/index.js
generated
vendored
4
dist/index.js
generated
vendored
|
@ -1799,7 +1799,7 @@ function run() {
|
||||||
const author = core.getInput('author') || git.defaults.author;
|
const author = core.getInput('author') || git.defaults.author;
|
||||||
const commitMessage = core.getInput('commit_message') || git.defaults.message;
|
const commitMessage = core.getInput('commit_message') || git.defaults.message;
|
||||||
const fqdn = core.getInput('fqdn');
|
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)) {
|
if (!fs.existsSync(buildDir)) {
|
||||||
core.setFailed('Build dir does not exist');
|
core.setFailed('Build dir does not exist');
|
||||||
return;
|
return;
|
||||||
|
@ -1841,7 +1841,7 @@ function run() {
|
||||||
core.info(`✍️ Writing ${fqdn} domain name to ${path.join(tmpdir, 'CNAME')}`);
|
core.info(`✍️ Writing ${fqdn} domain name to ${path.join(tmpdir, 'CNAME')}`);
|
||||||
yield fs.writeFileSync(path.join(tmpdir, 'CNAME'), fqdn.trim());
|
yield fs.writeFileSync(path.join(tmpdir, 'CNAME'), fqdn.trim());
|
||||||
}
|
}
|
||||||
if (jekyll) {
|
if (nojekyll) {
|
||||||
core.info(`🚫 Disabling Jekyll support via ${path.join(tmpdir, '.nojekyll')}`);
|
core.info(`🚫 Disabling Jekyll support via ${path.join(tmpdir, '.nojekyll')}`);
|
||||||
yield fs.writeFileSync(path.join(tmpdir, '.nojekyll'), '');
|
yield fs.writeFileSync(path.join(tmpdir, '.nojekyll'), '');
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@actions/io": "^1.0.2",
|
"@actions/io": "^1.0.2",
|
||||||
"@types/fs-extra": "^9.0.1",
|
"@types/fs-extra": "^9.0.1",
|
||||||
"@types/node": "^14.0.13",
|
"@types/node": "^14.0.14",
|
||||||
"@zeit/ncc": "^0.22.3",
|
"@zeit/ncc": "^0.22.3",
|
||||||
"prettier": "^2.0.5",
|
"prettier": "^2.0.5",
|
||||||
"typescript": "^3.9.5",
|
"typescript": "^3.9.5",
|
||||||
|
|
|
@ -17,7 +17,7 @@ async function run() {
|
||||||
const author: string = core.getInput('author') || git.defaults.author;
|
const author: string = core.getInput('author') || git.defaults.author;
|
||||||
const commitMessage: string = core.getInput('commit_message') || git.defaults.message;
|
const commitMessage: string = core.getInput('commit_message') || git.defaults.message;
|
||||||
const fqdn: string = core.getInput('fqdn');
|
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)) {
|
if (!fs.existsSync(buildDir)) {
|
||||||
core.setFailed('Build dir does not exist');
|
core.setFailed('Build dir does not exist');
|
||||||
|
@ -64,7 +64,7 @@ async function run() {
|
||||||
await fs.writeFileSync(path.join(tmpdir, 'CNAME'), fqdn.trim());
|
await fs.writeFileSync(path.join(tmpdir, 'CNAME'), fqdn.trim());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (jekyll) {
|
if (nojekyll) {
|
||||||
core.info(`🚫 Disabling Jekyll support via ${path.join(tmpdir, '.nojekyll')}`);
|
core.info(`🚫 Disabling Jekyll support via ${path.join(tmpdir, '.nojekyll')}`);
|
||||||
await fs.writeFileSync(path.join(tmpdir, '.nojekyll'), '');
|
await fs.writeFileSync(path.join(tmpdir, '.nojekyll'), '');
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,10 +26,10 @@
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/node" "*"
|
"@types/node" "*"
|
||||||
|
|
||||||
"@types/node@*", "@types/node@^14.0.13":
|
"@types/node@*", "@types/node@^14.0.14":
|
||||||
version "14.0.13"
|
version "14.0.14"
|
||||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.0.13.tgz#ee1128e881b874c371374c1f72201893616417c9"
|
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.0.14.tgz#24a0b5959f16ac141aeb0c5b3cd7a15b7c64cbce"
|
||||||
integrity sha512-rouEWBImiRaSJsVA+ITTFM6ZxibuAlTuNOCyxVbwreu6k6+ujs7DfnU9o+PShFhET78pMBl3eH+AGSI5eOTkPA==
|
integrity sha512-syUgf67ZQpaJj01/tRTknkMNoBBLWJOBODF0Zm4NrXmiSuxjymFrxnTu1QVYRubhVkRcZLYZG8STTwJRdVm/WQ==
|
||||||
|
|
||||||
"@zeit/ncc@^0.22.3":
|
"@zeit/ncc@^0.22.3":
|
||||||
version "0.22.3"
|
version "0.22.3"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user