1
0
Fork 0
mirror of https://github.com/veggiemonk/awesome-docker.git synced 2025-04-19 07:28:05 +02:00

Use github actions

This commit is contained in:
Julien Bisconti 2020-03-15 10:06:38 +01:00
parent daa5b25321
commit 39ad8e978b
No known key found for this signature in database
GPG key ID: 62772C6698F736CB
5 changed files with 8000 additions and 50 deletions

View file

@ -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(),
),
);
};