Skip to content

Commit

Permalink
Fix broken pages build
Browse files Browse the repository at this point in the history
  • Loading branch information
kamranahmedse committed May 26, 2022
1 parent 1630bd2 commit 167fa5d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions dist/index.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/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kamranahmedse/github-pages-blog-action",
"version": "0.0.4",
"version": "0.0.5",
"description": "Create good looking blog from your markdown files in a GitHub repository\n\n",
"main": "lib/main.js",
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions src/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ export async function deploy(configuration: ConfigurationType) {
const outputPath = configuration.outputDir;

await execute(`git init`, outputPath);
await execute(`git config user.name "${configuration.pusherName}"`, outputPath);
await execute(`git config user.email "${configuration.pusherEmail}"`, outputPath);
await execute(`git remote add origin ${configuration.repoUrl}`, outputPath);
await execute(`git checkout -b ${configuration.branch}`, outputPath);
await execute(`git add .`, outputPath);
Expand Down

0 comments on commit 167fa5d

Please sign in to comment.