Skip to content

Commit de966c6

Browse files
Merge pull request #18 from technote-space/release/v1.0.2
release/v1.0.2
2 parents 805512d + 85308e8 commit de966c6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Release GitHub Actions
22-
uses: technote-space/[email protected].1
22+
uses: technote-space/[email protected].2
2323
with:
2424
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
2525
```

src/utils/command.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ export const deploy = async (branch: string, context: Context) => {
1212
const pushDir = path.resolve(workDir, 'push');
1313
signale.info(`Deploying branch %s to %s`, branch, getRepository(context));
1414

15-
rimraf(workDir);
15+
rimraf(workDir, () => {
16+
});
1617
fs.mkdirSync(pushDir, {recursive: true});
1718
await prepareFiles(buildDir, pushDir, context);
1819
await cloneForBranch(pushDir, branch, context);

0 commit comments

Comments
 (0)