Fix github workflow
This commit is contained in:
rodič
11bc626874
revize
ae0eee1962
|
@ -8,13 +8,13 @@ await utxo.init();
|
||||||
const entry = utxo.entries["22"];
|
const entry = utxo.entries["22"];
|
||||||
|
|
||||||
// SPEAKERS
|
// SPEAKERS
|
||||||
const speakers = entry.specs.speakers;
|
//const speakers = entry.specs.speakers;
|
||||||
const sortedSpeakers = speakers.sort((a, b) => a.name.localeCompare(b.name));
|
//const sortedSpeakers = speakers.sort((a, b) => a.name.localeCompare(b.name));
|
||||||
const tracks = entry.specs.tracks;
|
const tracks = entry.specs.tracks;
|
||||||
|
|
||||||
const methods = {
|
const methods = {
|
||||||
// SPEAKERS - table
|
// SPEAKERS - table
|
||||||
async speakersTableGen() {
|
/*async speakersTableGen() {
|
||||||
const speakersTableArr = [["Jméno", "Organizace"]];
|
const speakersTableArr = [["Jméno", "Organizace"]];
|
||||||
for (const speaker of sortedSpeakers) {
|
for (const speaker of sortedSpeakers) {
|
||||||
const name = `**${speaker.name}**`;
|
const name = `**${speaker.name}**`;
|
||||||
|
@ -79,7 +79,7 @@ const methods = {
|
||||||
.speakersTableGen()}\n\n### Datový`,
|
.speakersTableGen()}\n\n### Datový`,
|
||||||
);
|
);
|
||||||
await Deno.writeTextFile(speakersDocFile, output);
|
await Deno.writeTextFile(speakersDocFile, output);
|
||||||
},
|
},*/
|
||||||
|
|
||||||
// TRACKS
|
// TRACKS
|
||||||
async tracksGen() {
|
async tracksGen() {
|
||||||
|
@ -105,7 +105,7 @@ const methods = {
|
||||||
await Deno.writeTextFile(sourceFile, output);
|
await Deno.writeTextFile(sourceFile, output);
|
||||||
},
|
},
|
||||||
|
|
||||||
// FAQs
|
/*// FAQs
|
||||||
async faqsGen() {
|
async faqsGen() {
|
||||||
const output = [];
|
const output = [];
|
||||||
for (const item of entry.specs.faqs) {
|
for (const item of entry.specs.faqs) {
|
||||||
|
@ -125,7 +125,7 @@ const methods = {
|
||||||
|
|
||||||
// TODO replace
|
// TODO replace
|
||||||
await Deno.writeTextFile(docFile, output);
|
await Deno.writeTextFile(docFile, output);
|
||||||
},
|
},*/
|
||||||
|
|
||||||
// PARTNERS
|
// PARTNERS
|
||||||
async partnersGen(type = "community") {
|
async partnersGen(type = "community") {
|
||||||
|
@ -170,9 +170,9 @@ const methods = {
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!Deno.args[0]) {
|
if (!Deno.args[0]) {
|
||||||
await methods.speakersBuild();
|
//await methods.speakersBuild();
|
||||||
await methods.tracksBuild();
|
await methods.tracksBuild();
|
||||||
await methods.faqsBuild();
|
//await methods.faqsBuild();
|
||||||
await methods.partnersBuild();
|
await methods.partnersBuild();
|
||||||
console.log("done");
|
console.log("done");
|
||||||
} else {
|
} else {
|
||||||
|
|
Načítá se…
Odkázat v novém úkolu