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:
parent
daa5b25321
commit
39ad8e978b
5 changed files with 8000 additions and 50 deletions
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(),
|
||||
),
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue