Skip to content

Commit

Permalink
🚀 Deploy new version [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
pabio-escobar committed Feb 24, 2021
1 parent 8e777e7 commit 3efc9aa
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 6 deletions.
11 changes: 9 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -219715,8 +219715,15 @@ const workflows_1 = __webpack_require__(3075);
const updateTemplate = async () => {
const [owner, repo] = (process.env.GITHUB_REPOSITORY || "").split("/");
const config = await config_1.getConfig();
// Remove the .github/workflows directory completely
await fs_extra_1.remove(path_1.join(".", ".github", "workflows"));
// Remove our workflows (not all workflows)
await fs_extra_1.remove(path_1.join(".", ".github", "workflows", "graphs.yml"));
await fs_extra_1.remove(path_1.join(".", ".github", "workflows", "response-time.yml"));
await fs_extra_1.remove(path_1.join(".", ".github", "workflows", "setup.yml"));
await fs_extra_1.remove(path_1.join(".", ".github", "workflows", "site.yml"));
await fs_extra_1.remove(path_1.join(".", ".github", "workflows", "summary.yml"));
await fs_extra_1.remove(path_1.join(".", ".github", "workflows", "update-template.yml"));
await fs_extra_1.remove(path_1.join(".", ".github", "workflows", "updates.yml"));
await fs_extra_1.remove(path_1.join(".", ".github", "workflows", "uptime.yml"));
console.log("Removed legacy .github/workflows");
// Clone and create workflows from this repo
await fs_extra_1.ensureDir(path_1.join(".", ".github", "workflows"));
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

11 changes: 9 additions & 2 deletions dist/update-template.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/update-template.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3efc9aa

Please sign in to comment.