File tree Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -53,3 +53,12 @@ For linode object storage this wont work though. The region must always be set t
53
53
` ` ` console
54
54
s3cmd mb --host ap-south-1.linodeobjects.com s3://my-bucket
55
55
` ` `
56
+
57
+
58
+ # # Development
59
+
60
+ Copy hooks into git folder
61
+
62
+ ```
63
+ cp hooks/* .git/hooks/
64
+ ```
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
-
4
3
echo " building action:"
5
-
6
- npm run build
7
-
8
4
exec 2>&1
9
-
5
+ npm run build
10
6
return 0
Original file line number Diff line number Diff line change @@ -5,15 +5,15 @@ const { execSync } = require('child_process');
5
5
const { createWriteStream } = require ( 'fs' )
6
6
const { providers, makeConf } = require ( './providers' )
7
7
8
- execSsync ( "/bin/bash -c 'pip3 install s3cmd --no-cache'" )
8
+ execSync ( "/bin/bash -c 'pip3 install s3cmd --no-cache'" )
9
9
10
10
const conf = makeConf ( providers [ core . getInput ( 'provider' ) ] ( {
11
11
region : core . getInput ( "region" ) ,
12
12
access_key : core . getInput ( "access_key" ) ,
13
13
secret_key : core . getInput ( "secret_key" ) ,
14
14
} ) )
15
15
16
- const writer = createWriteStream ( path )
16
+ ddf writer = createWriteStream ( path )
17
17
18
18
for ( const line of conf ) {
19
19
writer . write ( line + '\r\n' )
You can’t perform that action at this time.
0 commit comments