mirror of
https://github.com/veggiemonk/awesome-docker.git
synced 2025-11-24 01:14:28 +01:00
Use github actions
This commit is contained in:
6
build.js
6
build.js
@@ -76,7 +76,9 @@ const bundle = () => {
|
||||
})
|
||||
.bundle()
|
||||
.then(() => {
|
||||
const smStream = new SitemapStream({ hostname: 'https://awesome-docker.netlify.com/' });
|
||||
const smStream = new SitemapStream({
|
||||
hostname: 'https://awesome-docker.netlify.com/',
|
||||
});
|
||||
smStream.write({
|
||||
url: '/',
|
||||
changefreq: 'daily',
|
||||
@@ -93,7 +95,7 @@ const bundle = () => {
|
||||
fs.outputFile(
|
||||
'dist/sitemap.xml',
|
||||
// sm.createSitemap(sitemapOpts).toString(),
|
||||
sm.toString()
|
||||
sm.toString(),
|
||||
),
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user