Skip to content

Commit cf3b14e

Browse files
committed
test error
1 parent 9b17d11 commit cf3b14e

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,12 @@ For linode object storage this wont work though. The region must always be set t
5353
```console
5454
s3cmd mb --host ap-south-1.linodeobjects.com s3://my-bucket
5555
```
56+
57+
58+
## Development
59+
60+
Copy hooks into git folder
61+
62+
```
63+
cp hooks/* .git/hooks/
64+
```

hooks/pre-commit

100644100755
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
#!/bin/sh
22

3-
43
echo "building action:"
5-
6-
npm run build
7-
84
exec 2>&1
9-
5+
npm run build
106
return 0

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ const { execSync } = require('child_process');
55
const { createWriteStream } = require('fs')
66
const { providers, makeConf } = require('./providers')
77

8-
execSsync("/bin/bash -c 'pip3 install s3cmd --no-cache'")
8+
execSync("/bin/bash -c 'pip3 install s3cmd --no-cache'")
99

1010
const conf = makeConf(providers[core.getInput('provider')]({
1111
region: core.getInput("region"),
1212
access_key: core.getInput("access_key"),
1313
secret_key: core.getInput("secret_key"),
1414
}))
1515

16-
const writer = createWriteStream(path)
16+
ddf writer = createWriteStream(path)
1717

1818
for (const line of conf) {
1919
writer.write(line+'\r\n')

0 commit comments

Comments
 (0)