Skip to content

Commit

Permalink
Copy README.md to GH pages
Browse files Browse the repository at this point in the history
  • Loading branch information
petermuessig authored Jan 25, 2024
1 parent f82353c commit d8bff1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/prepare-gh-pages.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const { join } = require("path");
const { readdirSync, existsSync, rmSync, mkdirSync, createWriteStream } = require("fs");
const { readdirSync, existsSync, rmSync, mkdirSync, createWriteStream, copyFileSync } = require("fs");
const { exec } = require("child_process");
const utils = require("util");
const execute = utils.promisify(exec);
Expand Down Expand Up @@ -42,5 +42,6 @@ function zipDirectory(sourceDir, outPath) {
cwd: join(process.cwd(), "steps", step)
});
}
copyFileSync(join(process.cwd(), "README.md"), join(process.cwd(), "dist/index.md"));

}());

0 comments on commit d8bff1d

Please sign in to comment.