Use github actions

This commit is contained in:
Julien Bisconti
2020-03-15 10:06:38 +01:00
parent daa5b25321
commit 39ad8e978b
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(),
),
);
};