parent
e77fdd12de
commit
3b13737e91
|
@ -55,6 +55,7 @@ const dl = async (project) => {
|
||||||
const filename = project + '.zip'
|
const filename = project + '.zip'
|
||||||
const link = `https://gitlab.com/malware-filter/${project}/-/jobs/artifacts/main/download?job=pages`
|
const link = `https://gitlab.com/malware-filter/${project}/-/jobs/artifacts/main/download?job=pages`
|
||||||
const pipelineUrl = `https://gitlab.com/malware-filter/${project}/badges/main/pipeline.svg`
|
const pipelineUrl = `https://gitlab.com/malware-filter/${project}/badges/main/pipeline.svg`
|
||||||
|
let isMirror = false
|
||||||
|
|
||||||
console.log(`Downloading ${filename} from "${link}"`)
|
console.log(`Downloading ${filename} from "${link}"`)
|
||||||
try {
|
try {
|
||||||
|
@ -72,6 +73,7 @@ const dl = async (project) => {
|
||||||
|
|
||||||
const mirrorLink = `https://nightly.link/curbengh/${project}/workflows/pages/main/public.zip`
|
const mirrorLink = `https://nightly.link/curbengh/${project}/workflows/pages/main/public.zip`
|
||||||
console.log(`Downloading ${filename} from "${mirrorLink}"`)
|
console.log(`Downloading ${filename} from "${mirrorLink}"`)
|
||||||
|
isMirror = true
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await pipeline(
|
await pipeline(
|
||||||
|
|
Loading…
Reference in New Issue